瀏覽代碼

- Bugfix: BikeFromXSI.dae loads again.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@377 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
ulfjorensen 16 年之前
父節點
當前提交
87ee56efd3
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
 			{