fix: Collada: used wrong Enumeration type for comparison

This commit is contained in:
Gaia Clary 2018-11-23 19:23:55 +01:00
parent bd25523aff
commit e49c66efae
1 changed files with 2 additions and 1 deletions

View File

@ -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";