2
0
Эх сурвалжийг харах

- Bugfix: BikeFromXSI.dae loads again.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@377 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
ulfjorensen 16 жил өмнө
parent
commit
87ee56efd3

+ 3 - 0
code/ColladaParser.cpp

@@ -321,6 +321,9 @@ void ColladaParser::ReadAnimation( Collada::Animation* pParent)
 				// Better add another indirection to that! Can't have enough of those.
 				int indexTarget = GetAttribute( "target");
 				channel.mTarget = mReader->getAttributeValue( indexTarget);
+
+				if( !mReader->isEmptyElement())
+					SkipElement();
 			} 
 			else
 			{