Added support for Viewer::setViewer::setView so that the internal old
style osg::Camera and camera manipulators are updated correctly.
This commit is contained in:
@@ -145,7 +145,7 @@ class OSGPRODUCER_EXPORT OsgCameraGroup : public Producer::CameraGroup
|
||||
|
||||
/** Set the model view matrix of the camera group,
|
||||
* by individually set all the camera groups's camera.*/
|
||||
void setView(const osg::Matrix& matrix);
|
||||
virtual void setView(const osg::Matrix& matrix);
|
||||
|
||||
/** Get the model view martrix of the camera group,
|
||||
* taking its value for camera 0.*/
|
||||
|
||||
@@ -70,7 +70,12 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction
|
||||
|
||||
void setUpViewer(unsigned int options=STANDARD_SETTINGS);
|
||||
|
||||
bool done() const { return _done; }
|
||||
/** return true if the application is done and should exit.*/
|
||||
bool done() const;
|
||||
|
||||
/** Set the model view matrix of the camera group,
|
||||
* by individually set all the camera groups's camera.*/
|
||||
virtual void setView(const osg::Matrix& matrix);
|
||||
|
||||
/** Set the threading model and then call realize().*/
|
||||
virtual bool realize(ThreadingModel thread_model);
|
||||
|
||||
Reference in New Issue
Block a user