From 055d35a2b09f5bcc6082b306fc5254779ae491fc Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 22 Feb 2016 18:10:25 +0100 Subject: [PATCH] Revert "Warn about particle emitters that have multiple parent node paths" Not working correctly because osg won't ignore camera nodes. This reverts commit 1667c807be651dbeb1be3055b4a5143f5e2db2c5. --- components/nifosg/particle.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/nifosg/particle.cpp b/components/nifosg/particle.cpp index 205b0fd54..500339722 100644 --- a/components/nifosg/particle.cpp +++ b/components/nifosg/particle.cpp @@ -267,8 +267,6 @@ void Emitter::emitParticles(double dt) const osg::Matrix psToWorld = worldMats[0]; 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(); osg::Matrix emitterToPs = ltw * worldToPs;