Tweaks from using a ReadWriteMutex& to a ReadWriteMutex* parameter to avoid

problems with osgIntrospection generation.
This commit is contained in:
Robert Osfield
2006-12-27 23:19:17 +00:00
parent b2a0b50a5a
commit 11fef2d75e
4 changed files with 6 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ void osgParticle::ParticleProcessor::traverse(osg::NodeVisitor& nv)
{
if (nv.getFrameStamp())
{
osgDB::ScopedWriteLock lock(_ps->getReadWriteMutex());
osgDB::ScopedWriteLock lock(*(_ps->getReadWriteMutex()));
//added- 1/17/06- bgandere@nps.edu
//a check to make sure we havent updated yet this frame