[Bf-blender-cvs] [e49c66efae9] blender2.8: fix: Collada: used wrong Enumeration type for comparison
Gaia Clary
noreply at git.blender.org
Fri Nov 23 19:24:13 CET 2018
Commit: e49c66efae9d9fb85154ca4b3073ae3733400708
Author: Gaia Clary
Date: Fri Nov 23 19:23:55 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBe49c66efae9d9fb85154ca4b3073ae3733400708
fix: Collada: used wrong Enumeration type for comparison
===================================================================
M source/blender/collada/ErrorHandler.cpp
===================================================================
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";
More information about the Bf-blender-cvs
mailing list