Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2018-11-23 21:23:55 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-11-23 21:23:55 +0300
commite49c66efae9d9fb85154ca4b3073ae3733400708 (patch)
treed68a68bedb6ac17a85398e3fa2129ffbdba04f45 /source/blender/collada
parentbd25523aff8b8ec4d2ebbb34084621adde0a2366 (diff)
fix: Collada: used wrong Enumeration type for comparison
Diffstat (limited to 'source/blender/collada')
-rw-r--r--source/blender/collada/ErrorHandler.cpp3
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";