1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-14 01:19:59 +00:00

Keep particles in local space

This commit is contained in:
Chris Robinson 2013-04-13 16:26:34 -07:00
parent dd981077b9
commit 80a4345787

View File

@ -436,6 +436,9 @@ class NIFObjectLoader
particledata->particleRadius*2.0f);
partsys->setCullIndividually(false);
partsys->setParticleQuota(particledata->numParticles);
// TODO: There is probably a field or flag to specify this, as some
// particle effects have it and some don't.
partsys->setKeepParticlesInLocalSpace(true);
Nif::ControllerPtr ctrl = partnode->controller;
while(!ctrl.empty())