From f235646030ac312bfe87ca1ffe938b2723f29bfc Mon Sep 17 00:00:00 2001 From: Arkeon Date: Fri, 13 Apr 2018 09:36:01 +0200 Subject: [PATCH] Correction on Collada parser missing textures when the image is in CDATA --- code/ColladaParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ColladaParser.cpp b/code/ColladaParser.cpp index d96ac0d39..31fbabe0e 100644 --- a/code/ColladaParser.cpp +++ b/code/ColladaParser.cpp @@ -3106,7 +3106,7 @@ const char* ColladaParser::TestTextContent() // read contents of the element if( !mReader->read() ) return NULL; - if( mReader->getNodeType() != irr::io::EXN_TEXT) + if( mReader->getNodeType() != irr::io::EXN_TEXT && mReader->getNodeType() != irr::io::EXN_CDATA) return NULL; // skip leading whitespace