No longer removes redundant nodes because node structure may be important.

This commit is contained in:
Michael PLATINGS
2010-04-28 14:05:47 +00:00
parent dfda4ce35f
commit 324ddd0ca3

View File

@@ -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();