1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:45:33 +00:00

Set the particle scaleReferenceFrame to local space

This commit is contained in:
scrawl 2015-11-19 15:49:42 +01:00
parent ccc721ba3f
commit 9b96fcc224

View file

@ -866,6 +866,8 @@ namespace NifOsg
partsys->getOrCreateUserDataContainer()->addDescription("worldspace");
}
partsys->setParticleScaleReferenceFrame(osgParticle::ParticleSystem::LOCAL_COORDINATES);
handleParticleInitialState(nifNode, partsys, partctrl);
partsys->setQuota(partctrl->numParticles);