Added derived reqiestRedraw() and requestContinueUpdate() methods for
debugging purposes.
This commit is contained in:
parent
7f94839e94
commit
344beecede
@ -113,8 +113,8 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction
|
||||
/** Dispatch the cull and draw for each of the Camera's for this frame.*/
|
||||
virtual void frame();
|
||||
|
||||
virtual void requestRedraw() {}
|
||||
virtual void requestContinuousUpdate(bool) {}
|
||||
virtual void requestRedraw();
|
||||
virtual void requestContinuousUpdate(bool);
|
||||
virtual void requestWarpPointer(float x,float y);
|
||||
|
||||
|
||||
|
@ -824,6 +824,16 @@ void Viewer::selectCameraManipulator(unsigned int no)
|
||||
if (_keyswitchManipulator.valid()) _keyswitchManipulator->selectMatrixManipulator(no);
|
||||
}
|
||||
|
||||
void Viewer::requestRedraw()
|
||||
{
|
||||
osg::notify(osg::INFO)<<"Viewer::requestRedraw() called"<<std::endl;
|
||||
}
|
||||
|
||||
void Viewer::requestContinuousUpdate(bool flag)
|
||||
{
|
||||
osg::notify(osg::INFO)<<"Viewer::requestContinuousUpdate("<<flag<<") called"<<std::endl;
|
||||
}
|
||||
|
||||
void Viewer::requestWarpPointer(float x,float y)
|
||||
{
|
||||
if (_kbmcb.valid())
|
||||
|
Loading…
Reference in New Issue
Block a user