From 87ee56efd3492f133ddadca3afcf749f04543b8a Mon Sep 17 00:00:00 2001 From: ulfjorensen Date: Mon, 6 Apr 2009 22:57:43 +0000 Subject: [PATCH] - Bugfix: BikeFromXSI.dae loads again. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@377 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ColladaParser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ColladaParser.cpp b/code/ColladaParser.cpp index 3a23b6692..0bacf2275 100644 --- a/code/ColladaParser.cpp +++ b/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 {