Browse Source

closes https://github.com/assimp/assimp/issues/857

Kim Kulling 9 years ago
parent
commit
2f9c33e3e9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      code/AssxmlExporter.cpp

+ 3 - 3
code/AssxmlExporter.cpp

@@ -196,11 +196,11 @@ void WriteDump(const aiScene* scene, IOStream* io, bool shortened) {
         "<Scene flags=\"%d\" postprocessing=\"%i\">\n"
         "<Scene flags=\"%d\" postprocessing=\"%i\">\n"
     );
     );
 
 
-    const unsigned int major( aiGetVersionMajor() );
-    const unsigned int minor( aiGetVersionMinor() );
+    const unsigned int majorVersion( aiGetVersionMajor() );
+    const unsigned int minorVersion( aiGetVersionMinor() );
     const unsigned int rev( aiGetVersionRevision() );
     const unsigned int rev( aiGetVersionRevision() );
     const char *curtime( asctime( p ) );
     const char *curtime( asctime( p ) );
-    ioprintf( io, header.c_str(), major, minor, rev, curtime, scene->mFlags, 0 );
+    ioprintf( io, header.c_str(), majorVersion, minorVersion, rev, curtime, scene->mFlags, 0 );
 
 
     // write the node graph
     // write the node graph
     WriteNode(scene->mRootNode, io, 0);
     WriteNode(scene->mRootNode, io, 0);