From 751d7baf1c4c13865396a049ed0907ca673a1a91 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 16 Jun 2010 15:56:42 +0000 Subject: [PATCH] Changed the default behaviour of computeHomePosition so that it uses the bounding sphere of the model rather than computing the bounding box. --- include/osgGA/StandardManipulator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgGA/StandardManipulator b/include/osgGA/StandardManipulator index 5a17eeac0..974f2816f 100644 --- a/include/osgGA/StandardManipulator +++ b/include/osgGA/StandardManipulator @@ -40,7 +40,7 @@ class OSGGA_EXPORT StandardManipulator : public CameraManipulator COMPUTE_HOME_USING_BBOX = 0x02, PROCESS_MOUSE_WHEEL = 0x04, SET_CENTER_ON_WHEEL_FORWARD_MOVEMENT = 0x08, - DEFAULT_SETTINGS = UPDATE_MODEL_SIZE | COMPUTE_HOME_USING_BBOX | PROCESS_MOUSE_WHEEL + DEFAULT_SETTINGS = UPDATE_MODEL_SIZE /*| COMPUTE_HOME_USING_BBOX*/ | PROCESS_MOUSE_WHEEL }; StandardManipulator( int flags = DEFAULT_SETTINGS );