Added new getCurrentCamaeraManipulator(), and removed and debugging message.
This commit is contained in:
@@ -36,8 +36,13 @@ public:
|
||||
*/
|
||||
void addNumberedCameraManipulator(CameraManipulator *cm);
|
||||
|
||||
CameraManipulator* getCurrentCameraManipulator() { return _current.get(); }
|
||||
|
||||
const CameraManipulator* getCurrentCameraManipulator() const { return _current.get(); }
|
||||
|
||||
// Overrides from CameraManipulator...
|
||||
|
||||
|
||||
virtual void setCamera(osg::Camera* c) { _current->setCamera(c); }
|
||||
|
||||
virtual const osg::Camera * getCamera() const { return _current->getCamera(); }
|
||||
|
||||
Reference in New Issue
Block a user