mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:15:31 +00:00
Revert "NifOsg::Emitter: ignore psToWorld scale"
This reverts commit 7c16630874
.
Fixes #3022
This commit is contained in:
parent
8c268f239e
commit
36e91617c9
1 changed files with 1 additions and 3 deletions
|
@ -264,9 +264,7 @@ void Emitter::emitParticles(double dt)
|
|||
osg::MatrixList worldMats = getParticleSystem()->getWorldMatrices();
|
||||
if (!worldMats.empty())
|
||||
{
|
||||
osg::Matrix psToWorld = worldMats[0];
|
||||
// ignore scales in particlesystem world matrix. this seems wrong, but have to do so for MW compatibility.
|
||||
psToWorld.orthoNormalize(psToWorld);
|
||||
const osg::Matrix psToWorld = worldMats[0];
|
||||
worldToPs = osg::Matrix::inverse(psToWorld);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue