From 324ddd0ca3f36de753189b8fb7557c99ee4aa4d2 Mon Sep 17 00:00:00 2001 From: Michael PLATINGS Date: Wed, 28 Apr 2010 14:05:47 +0000 Subject: [PATCH] No longer removes redundant nodes because node structure may be important. --- src/osgPlugins/fbx/fbxRNode.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/osgPlugins/fbx/fbxRNode.cpp b/src/osgPlugins/fbx/fbxRNode.cpp index 20b3d4e0c..9e3fd986b 100644 --- a/src/osgPlugins/fbx/fbxRNode.cpp +++ b/src/osgPlugins/fbx/fbxRNode.cpp @@ -416,19 +416,6 @@ osgDB::ReaderWriter::ReadResult readFbxNode( switch (lAttributeType) { - case KFbxNodeAttribute::eUNIDENTIFIED: - if (bLocalMatrixIdentity && children.size() + skeletal.size() == 1) - { - if (children.size() == 1) - { - return osgDB::ReaderWriter::ReadResult(children.front().get()); - } - else - { - return osgDB::ReaderWriter::ReadResult(skeletal.front().get()); - } - } - break; case KFbxNodeAttribute::eMESH: { size_t bindMatrixCount = boneBindMatrices.size();