summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-10 09:36:39 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-10 09:54:44 +0000
commit4283c50219a08cf49776c4d76564bbd33dd67e11 (patch)
treead0eafe669cbcc7223b049b5d1043eec73eae9f4
parentd3d1088dbbf21c5d4792f434178c942ff6198f45 (diff)
Avoid polluting the filesystem with AssimpLog.txt files
Every time the assimp plugin is loaded, that file gets created. Avoid the create and kill calls since all that achieves is to install a null logger. According to the assimp docs a null logger is the default anyhow, so simply remove the two lines. Change-Id: I12dd50827218dcb07d7d5889398e9daf31789953 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--src/plugins/sceneparsers/assimp/assimpparser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/sceneparsers/assimp/assimpparser.cpp b/src/plugins/sceneparsers/assimp/assimpparser.cpp
index 12c207ee3..781899611 100644
--- a/src/plugins/sceneparsers/assimp/assimpparser.cpp
+++ b/src/plugins/sceneparsers/assimp/assimpparser.cpp
@@ -234,8 +234,6 @@ AssimpParser::AssimpParser() : AbstractSceneParser(),
m_sceneParsed(false),
m_scene(Q_NULLPTR)
{
- Assimp::DefaultLogger::create("AssimpLog.txt", Assimp::Logger::VERBOSE);
- Assimp::DefaultLogger::kill();
}
/*!