Implement presentation update feature that reloads the presentation on pressing 'u'.
This commit is contained in:
@@ -263,6 +263,10 @@ public:
|
||||
|
||||
void dispatchEvent(const KeyPosition& keyPosition);
|
||||
|
||||
void setRequestReload(bool flag);
|
||||
bool getRequestReload() const { return _requestReload; }
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
~SlideEventHandler() {}
|
||||
@@ -314,6 +318,8 @@ protected:
|
||||
|
||||
osg::ref_ptr<CompileSlideCallback> _compileSlideCallback;
|
||||
|
||||
bool _requestReload;
|
||||
|
||||
void updateOperators();
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user