Added automatic assignment of _markerObject to CompileSet.
This commit is contained in:
@@ -24,7 +24,7 @@ class OSGUTIL_EXPORT StateToCompile : public osg::NodeVisitor
|
||||
{
|
||||
public:
|
||||
|
||||
StateToCompile(GLObjectsVisitor::Mode mode, osg::Object* markerObject=0);
|
||||
StateToCompile(GLObjectsVisitor::Mode mode, osg::Object* markerObject);
|
||||
|
||||
typedef std::set<osg::Drawable*> DrawableSet;
|
||||
typedef std::set<osg::StateSet*> StateSetSet;
|
||||
@@ -266,6 +266,8 @@ class OSGUTIL_EXPORT IncrementalCompileOperation : public osg::GraphicsOperation
|
||||
typedef std::map<osg::GraphicsContext*, CompileList > CompileMap;
|
||||
CompileMap _compileMap;
|
||||
|
||||
osg::ref_ptr<osg::Object> _markerObject;
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~CompileSet() {}
|
||||
|
||||
Reference in New Issue
Block a user