diff --git a/include/osgManipulator/TabPlaneDragger b/include/osgManipulator/TabPlaneDragger index 12b82a778..8064bf699 100644 --- a/include/osgManipulator/TabPlaneDragger +++ b/include/osgManipulator/TabPlaneDragger @@ -29,7 +29,7 @@ class OSGMANIPULATOR_EXPORT TabPlaneDragger : public CompositeDragger { public: - TabPlaneDragger(); + TabPlaneDragger(float handleScaleFactor=20.0f); META_OSGMANIPULATOR_Object(osgManipulator,TabPlaneDragger) diff --git a/src/osgManipulator/TabPlaneDragger.cpp b/src/osgManipulator/TabPlaneDragger.cpp index 65a38f8b9..829c53ed9 100644 --- a/src/osgManipulator/TabPlaneDragger.cpp +++ b/src/osgManipulator/TabPlaneDragger.cpp @@ -191,7 +191,8 @@ void createTranslateDraggerGeometry(Scale2DDragger* cornerScaleDragger, Translat } -TabPlaneDragger::TabPlaneDragger() : _handleScaleFactor(20.0) +TabPlaneDragger::TabPlaneDragger( float handleScaleFactor ) + :_handleScaleFactor( handleScaleFactor ) { _cornerScaleDragger = new Scale2DDragger(Scale2DDragger::SCALE_WITH_OPPOSITE_HANDLE_AS_PIVOT); addChild(_cornerScaleDragger.get());