diff --git a/src/osgGA/DriveManipulator.cpp b/src/osgGA/DriveManipulator.cpp index e300eba8e..8ca11097b 100644 --- a/src/osgGA/DriveManipulator.cpp +++ b/src/osgGA/DriveManipulator.cpp @@ -9,12 +9,25 @@ using namespace osg; using namespace osgGA; +#define DRIVER_HEIGHT 15 + +static float getHeightOfDriver() +{ + float height = 1.5f; + if (getenv("OSG_DRIVE_MANIPULATOR_HEIGHT")) + { + height = atof(getenv("OSG_DRIVE_MANIPULATOR_HEIGHT")); + } + osg::notify(osg::INFO)<<"DriveManipulator::_height set to =="<