mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
Set the particle scaleReferenceFrame to local space
This commit is contained in:
parent
ccc721ba3f
commit
9b96fcc224
@ -866,6 +866,8 @@ namespace NifOsg
|
||||
partsys->getOrCreateUserDataContainer()->addDescription("worldspace");
|
||||
}
|
||||
|
||||
partsys->setParticleScaleReferenceFrame(osgParticle::ParticleSystem::LOCAL_COORDINATES);
|
||||
|
||||
handleParticleInitialState(nifNode, partsys, partctrl);
|
||||
|
||||
partsys->setQuota(partctrl->numParticles);
|
||||
|
Loading…
Reference in New Issue
Block a user