diff --git a/src/osgViewer/Viewer.cpp b/src/osgViewer/Viewer.cpp index 148ebc879..e572fa412 100644 --- a/src/osgViewer/Viewer.cpp +++ b/src/osgViewer/Viewer.cpp @@ -687,7 +687,7 @@ int Viewer::run() return 1; } - if (!getCameraManipulator()) + if (!getCameraManipulator() && getCamera()->getAllowEventFocus()) { setCameraManipulator(new osgGA::TrackballManipulator()); }