diff options
-rw-r--r-- | source/blender/collada/ErrorHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/ErrorHandler.cpp b/source/blender/collada/ErrorHandler.cpp index d567127879c..9076e2555b7 100644 --- a/source/blender/collada/ErrorHandler.cpp +++ b/source/blender/collada/ErrorHandler.cpp @@ -82,7 +82,8 @@ bool ErrorHandler::handleError(const COLLADASaxFWL::IError *error) error_context = "File access"; } - else isError = (parserError.getSeverity() != COLLADASaxFWL::IError::SEVERITY_ERROR_NONCRITICAL); + else isError = (parserError.getSeverity() != GeneratedSaxParser::ParserError::Severity::SEVERITY_ERROR_NONCRITICAL); + } else if (error->getErrorClass() == COLLADASaxFWL::IError::ERROR_SAXFWL) { error_context = "Sax FWL"; |