Added catch for thread model w.r.t new PrecipitationEffect not being

sensitive to threading issues.
This commit is contained in:
Robert Osfield
2006-04-28 10:48:05 +00:00
parent f22d11903b
commit 923d85eb06

View File

@@ -441,7 +441,7 @@ public:
virtual void apply(osg::Node& node)
{
if (strcmp(node.libraryName(),"osgParticle")==0) _foundParticles = true;
if (strcmp(node.libraryName(),"osgParticle")==0 && strcmp(node.className(),"PrecipitationEffect")!=0) _foundParticles = true;
if (!_foundParticles ||
!_foundPagedLOD) traverse(node);