forked from mirror/openmw-tes3mp
Revert "Warn about particle emitters that have multiple parent node paths"
Not working correctly because osg won't ignore camera nodes.
This reverts commit 1667c807be
.
This commit is contained in:
parent
a6621626aa
commit
055d35a2b0
1 changed files with 0 additions and 2 deletions
|
@ -267,8 +267,6 @@ void Emitter::emitParticles(double dt)
|
||||||
const osg::Matrix psToWorld = worldMats[0];
|
const osg::Matrix psToWorld = worldMats[0];
|
||||||
worldToPs = osg::Matrix::inverse(psToWorld);
|
worldToPs = osg::Matrix::inverse(psToWorld);
|
||||||
}
|
}
|
||||||
if (worldMats.size() > 1)
|
|
||||||
std::cerr << "Found multiple parent node paths in particle emitter, this is not correctly supported " << std::endl;
|
|
||||||
|
|
||||||
const osg::Matrix& ltw = getLocalToWorldMatrix();
|
const osg::Matrix& ltw = getLocalToWorldMatrix();
|
||||||
osg::Matrix emitterToPs = ltw * worldToPs;
|
osg::Matrix emitterToPs = ltw * worldToPs;
|
||||||
|
|
Loading…
Reference in a new issue