forked from teamnwah/openmw-tes3coop
Keep particles in local space
This commit is contained in:
parent
dd981077b9
commit
80a4345787
1 changed files with 3 additions and 0 deletions
|
@ -436,6 +436,9 @@ class NIFObjectLoader
|
||||||
particledata->particleRadius*2.0f);
|
particledata->particleRadius*2.0f);
|
||||||
partsys->setCullIndividually(false);
|
partsys->setCullIndividually(false);
|
||||||
partsys->setParticleQuota(particledata->numParticles);
|
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;
|
Nif::ControllerPtr ctrl = partnode->controller;
|
||||||
while(!ctrl.empty())
|
while(!ctrl.empty())
|
||||||
|
|
Loading…
Reference in a new issue