Add parser error handler.
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 5 Sep 2011 20:41:58 +0000 (20:41 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 5 Sep 2011 20:41:58 +0000 (20:41 +0000)
commit6e9ff495eb082aeb49e6a1da23a7827d3fcd0fde
tree4f3c39b88d524edf516c232c9ee298d738dab87a
parent59a823c48aec80a48b39e27f8474302caf2dbf26
Add parser error handler.

OpenCOLLADA is a validating parser, so is pretty strict about document form. The added error handler will print out any errors the parser finds. A pop-up will be shown too, advising the user to check the console for the error log.
source/blender/collada/CMakeLists.txt
source/blender/collada/DocumentImporter.cpp
source/blender/collada/ErrorHandler.cpp [new file with mode: 0644]
source/blender/collada/ErrorHandler.h [new file with mode: 0644]
source/blender/collada/collada.cpp
source/blender/windowmanager/intern/wm_operators.c