Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/collada/ErrorHandler.cpp
| Show All 30 Lines | |||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| //-------------------------------------------------------------------- | //-------------------------------------------------------------------- | ||||
| ErrorHandler::ErrorHandler() : mError(false) | ErrorHandler::ErrorHandler() : mError(false) | ||||
| { | { | ||||
| } | } | ||||
| //-------------------------------------------------------------------- | //-------------------------------------------------------------------- | ||||
| ErrorHandler::~ErrorHandler() | |||||
| { | |||||
| } | |||||
| //-------------------------------------------------------------------- | |||||
| bool ErrorHandler::handleError(const COLLADASaxFWL::IError *error) | bool ErrorHandler::handleError(const COLLADASaxFWL::IError *error) | ||||
| { | { | ||||
| /* This method must return false when Collada should continue. | /* This method must return false when Collada should continue. | ||||
| * See https://github.com/KhronosGroup/OpenCOLLADA/issues/442 | * See https://github.com/KhronosGroup/OpenCOLLADA/issues/442 | ||||
| */ | */ | ||||
| bool isError = true; | bool isError = true; | ||||
| std::string error_context; | std::string error_context; | ||||
| std::string error_message; | std::string error_message; | ||||
| ▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines | |||||