Set main scene graph elements to use thread safe ref/unref by default

This commit is contained in:
Robert Osfield
2007-08-22 10:34:11 +00:00
parent ef4dafaea1
commit de4a4042f7
6 changed files with 12 additions and 1 deletions

View File

@@ -18,6 +18,13 @@
using namespace osg;
StateAttribute::StateAttribute()
:Object(true)
{
}
void StateAttribute::addParent(osg::StateSet* object)
{
_parents.push_back(object);