diff --git a/src/osgProducer/Viewer.cpp b/src/osgProducer/Viewer.cpp index 11e9c1cdb..08f0e9c6e 100644 --- a/src/osgProducer/Viewer.cpp +++ b/src/osgProducer/Viewer.cpp @@ -279,7 +279,10 @@ void Viewer::update() } // update the main producer camera - if (_old_style_osg_camera.valid()) OsgCameraGroup::setView(_old_style_osg_camera->getModelViewMatrix()); + if (_old_style_osg_camera.valid()) + { + CameraGroup::setViewByMatrix(Producer::Matrix(_old_style_osg_camera->getModelViewMatrix().ptr())); + } } void Viewer::frame()