diff --git a/code/ColladaParser.cpp b/code/ColladaParser.cpp index 2fa3aa7d5..eb9d2abc0 100644 --- a/code/ColladaParser.cpp +++ b/code/ColladaParser.cpp @@ -683,18 +683,18 @@ void ColladaParser::ReadController( Collada::Controller& pController) else if( IsElement( "bind_shape_matrix")) { // content is 16 floats to define a matrix... it seems to be important for some models - const char* content = GetTextContent(); + const char* content = GetTextContent(); - // read the 16 floats - for( unsigned int a = 0; a < 16; a++) - { - // read a number - content = fast_atoreal_move( content, pController.mBindShapeMatrix[a]); - // skip whitespace after it - SkipSpacesAndLineEnd( &content); - } + // read the 16 floats + for( unsigned int a = 0; a < 16; a++) + { + // read a number + content = fast_atoreal_move( content, pController.mBindShapeMatrix[a]); + // skip whitespace after it + SkipSpacesAndLineEnd( &content); + } - TestClosing( "bind_shape_matrix"); + TestClosing( "bind_shape_matrix"); } else if( IsElement( "source")) {