diff --git a/include/osg/AutoTransform b/include/osg/AutoTransform index 338ff18b4..1a987088f 100644 --- a/include/osg/AutoTransform +++ b/include/osg/AutoTransform @@ -68,7 +68,7 @@ class OSG_EXPORT AutoTransform : public Transform ROTATE_TO_CAMERA }; - void setAutoRotateMode(AutoRotateMode mode) { _autoRotateMode = mode; } + void setAutoRotateMode(AutoRotateMode mode) { _autoRotateMode = mode; _firstTimeToInitEyePoint = true; } AutoRotateMode getAutoRotateMode() const { return _autoRotateMode; }