Set main scene graph elements to use thread safe ref/unref by default
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
StateAttribute::StateAttribute()
|
||||
:Object(true)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void StateAttribute::addParent(osg::StateSet* object)
|
||||
{
|
||||
_parents.push_back(object);
|
||||
|
||||
Reference in New Issue
Block a user