Added setThreadSafeRefUnref to LightSource

This commit is contained in:
Robert Osfield
2007-01-07 10:00:50 +00:00
parent 19a7ec0f6b
commit 773fbd1b16
2 changed files with 10 additions and 0 deletions

View File

@@ -73,3 +73,10 @@ BoundingSphere LightSource::computeBound() const
return bsphere;
}
void LightSource::setThreadSafeRefUnref(bool threadSafe)
{
Group::setThreadSafeRefUnref(threadSafe);
if (_light.valid()) _light->setThreadSafeRefUnref(threadSafe);
}