diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-11-23 21:23:55 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-11-23 21:23:55 +0300 |
commit | e49c66efae9d9fb85154ca4b3073ae3733400708 (patch) | |
tree | d68a68bedb6ac17a85398e3fa2129ffbdba04f45 /source | |
parent | bd25523aff8b8ec4d2ebbb34084621adde0a2366 (diff) |
fix: Collada: used wrong Enumeration type for comparison
Diffstat (limited to 'source')
-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"; |