From 89a2c69a61c028302c59c86f46c34d93cbcb82bc Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Mon, 25 May 2020 23:51:15 +0300 Subject: [PATCH] Support particle node transformations --- components/nifosg/nifloader.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index e3c6d823f..5b9d0698d 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -496,14 +496,6 @@ namespace NifOsg switch (nifNode->recType) { - case Nif::RC_NiAutoNormalParticles: - case Nif::RC_NiRotatingParticles: - // Leaf nodes in the NIF hierarchy, so won't be able to dynamically attach children. - // No support for keyframe controllers (just crashes in the original engine). - if (nifNode->trafo.isIdentity()) - node = new osg::Group; - dataVariance = osg::Object::STATIC; - break; case Nif::RC_NiBillboardNode: dataVariance = osg::Object::DYNAMIC; break;