1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Fix particlesystem nested RenderBin issue (Bug #2631)

This commit is contained in:
scrawl 2015-06-08 21:21:09 +02:00
parent f511cb08ff
commit 93ee11c5e7

View file

@ -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<osgParticle::ParticleSystemUpdater> updater = new osgParticle::ParticleSystemUpdater;