From 93ee11c5e78b045848957908006044576bff8302 Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 8 Jun 2015 21:21:09 +0200 Subject: [PATCH] Fix particlesystem nested RenderBin issue (Bug #2631) --- components/nifosg/nifloader.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 44784fd7e..fcba9893d 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -868,8 +868,6 @@ namespace NifOsg mat->setColorMode(osg::Material::AMBIENT); } - partsys->getOrCreateStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN); - // particle system updater (after the emitters and affectors in the scene graph) // I think for correct culling needs to be *before* the ParticleSystem, though osg examples do it the other way osg::ref_ptr updater = new osgParticle::ParticleSystemUpdater;