mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-26 06:40:22 +00:00
Set the particle scaleReferenceFrame to local space
This commit is contained in:
parent
038f682510
commit
966737f891
@ -843,6 +843,8 @@ namespace NifOsg
|
||||
partsys->getOrCreateUserDataContainer()->addDescription("worldspace");
|
||||
}
|
||||
|
||||
partsys->setParticleScaleReferenceFrame(osgParticle::ParticleSystem::LOCAL_COORDINATES);
|
||||
|
||||
handleParticleInitialState(nifNode, partsys, partctrl);
|
||||
|
||||
partsys->setQuota(partctrl->numParticles);
|
||||
|
Loading…
x
Reference in New Issue
Block a user