From: <kla...@us...> - 2012-01-06 04:11:38
|
Revision: 13292 http://vegastrike.svn.sourceforge.net/vegastrike/?rev=13292&view=rev Author: klaussfreire Date: 2012-01-06 04:11:32 +0000 (Fri, 06 Jan 2012) Log Message: ----------- Patch #2121764 by mat007: missing isxmesh guard on bfxm->xmesh conversion would produce bogus output on bfxm->something else if animations are in use. Modified Paths: -------------- trunk/vegastrike/objconv/mesher/from_BFXM.cpp Modified: trunk/vegastrike/objconv/mesher/from_BFXM.cpp =================================================================== --- trunk/vegastrike/objconv/mesher/from_BFXM.cpp 2012-01-05 04:41:43 UTC (rev 13291) +++ trunk/vegastrike/objconv/mesher/from_BFXM.cpp 2012-01-06 04:11:32 UTC (rev 13292) @@ -396,7 +396,8 @@ if (isxmesh) fprintf( Outputfile, "<AnimationFrameIndex AnimationMeshIndex=\"%d\"/>\n", ref-1-numLODs ); } - fprintf( Outputfile, "</AnimationDefinition>\n" ); + if (isxmesh) + fprintf( Outputfile, "</AnimationDefinition>\n" ); } //End AnimationDefinitions //End VSA |