From e49c66efae9d9fb85154ca4b3073ae3733400708 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Fri, 23 Nov 2018 19:23:55 +0100 Subject: fix: Collada: used wrong Enumeration type for comparison --- source/blender/collada/ErrorHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/collada') 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"; -- cgit v1.2.3