Added catch for thread model w.r.t new PrecipitationEffect not being
sensitive to threading issues.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user