Added new getCurrentCamaeraManipulator(), and removed and debugging message.

This commit is contained in:
Robert Osfield
2003-01-17 14:12:25 +00:00
parent c406d2476f
commit c2c38955c6
2 changed files with 5 additions and 1 deletions

View File

@@ -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(); }