forked from mirror/openmw-tes3mp
Set the particle scaleReferenceFrame to local space
This commit is contained in:
parent
038f682510
commit
966737f891
1 changed files with 2 additions and 0 deletions
|
@ -843,6 +843,8 @@ namespace NifOsg
|
||||||
partsys->getOrCreateUserDataContainer()->addDescription("worldspace");
|
partsys->getOrCreateUserDataContainer()->addDescription("worldspace");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
partsys->setParticleScaleReferenceFrame(osgParticle::ParticleSystem::LOCAL_COORDINATES);
|
||||||
|
|
||||||
handleParticleInitialState(nifNode, partsys, partctrl);
|
handleParticleInitialState(nifNode, partsys, partctrl);
|
||||||
|
|
||||||
partsys->setQuota(partctrl->numParticles);
|
partsys->setQuota(partctrl->numParticles);
|
||||||
|
|
Loading…
Reference in a new issue