Correction on Collada parser missing textures when the image is in CDATA

<image id="image-1404706686">
<init_from><![CDATA[textures\burgundy.png]]></init_from>
</image>
pull/1899/head
Arkeon 2018-04-13 09:36:01 +02:00
parent 45892d7fe9
commit f235646030
1 changed files with 1 additions and 1 deletions

View File

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