|
@@ -200,7 +200,7 @@ void DNAParser::Parse() {
|
|
|
|
|
|
ASSIMP_LOG_DEBUG_F("BlenderDNA: Got ", dna.structures.size(), " structures with totally ", fields, " fields");
|
|
ASSIMP_LOG_DEBUG_F("BlenderDNA: Got ", dna.structures.size(), " structures with totally ", fields, " fields");
|
|
|
|
|
|
-#ifdef ASSIMP_BUILD_BLENDER_DEBUG
|
|
|
|
|
|
+#if ASSIMP_BUILD_BLENDER_DEBUG_DNA
|
|
dna.DumpToFile();
|
|
dna.DumpToFile();
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -208,7 +208,7 @@ void DNAParser::Parse() {
|
|
dna.RegisterConverters();
|
|
dna.RegisterConverters();
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef ASSIMP_BUILD_BLENDER_DEBUG
|
|
|
|
|
|
+#if ASSIMP_BUILD_BLENDER_DEBUG_DNA
|
|
|
|
|
|
#include <fstream>
|
|
#include <fstream>
|
|
// ------------------------------------------------------------------------------------------------
|
|
// ------------------------------------------------------------------------------------------------
|
|
@@ -237,7 +237,7 @@ void DNA ::DumpToFile() {
|
|
|
|
|
|
ASSIMP_LOG_INFO("BlenderDNA: Dumped dna to dna.txt");
|
|
ASSIMP_LOG_INFO("BlenderDNA: Dumped dna to dna.txt");
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
|
|
+#endif // ASSIMP_BUILD_BLENDER_DEBUG_DNA
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
// ------------------------------------------------------------------------------------------------
|
|
/*static*/ void DNA ::ExtractArraySize(
|
|
/*static*/ void DNA ::ExtractArraySize(
|