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:
@@ -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(); }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user