Refactored the way that FrameStamp is managed in osgViewer::Renderer to avoid thread conflicts

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15138 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-09-25 10:09:27 +00:00
parent f626d85c2b
commit 7aae720636
2 changed files with 14 additions and 3 deletions

View File

@@ -408,6 +408,9 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
inline void setFrameStamp(osg::FrameStamp* fs) { _frameStamp = fs; }
/** Get the frame stamp for the current frame.*/
inline osg::FrameStamp* getFrameStamp() { return _frameStamp.get(); }
/** Get the const frame stamp for the current frame.*/
inline const osg::FrameStamp* getFrameStamp() const { return _frameStamp.get(); }