Browse Source

- Bugfix: BikeFromXSI.dae loads again.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@377 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
ulfjorensen 16 years ago
parent
commit
87ee56efd3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      code/ColladaParser.cpp

+ 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
 			{