mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-20 19:44:05 +00:00
Set the particle scaleReferenceFrame to local space
This commit is contained in:
parent
ccc721ba3f
commit
9b96fcc224
1 changed files with 2 additions and 0 deletions
|
@ -866,6 +866,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