Bug in Collada importer (daeURI.cpp)

Digitalghost
Posts: 25
Joined: Thu Dec 20, 2007 4:03 am

Bug in Collada importer (daeURI.cpp)

Post by Digitalghost »

In daeURI.cpp, line 702 is this:

if ( strcmp( fp, filepath ) != 0 || strcmp( f, file ) != 0 ) {

but I believe it should be this:

if ( filepath && (strcmp( fp, filepath ) != 0 || strcmp( f, file ) != 0) ) {

Attached is the dae file which caused the error.

*EDIT* Oops, the forum doesn't support uploading .dae or .xml files. You can find the file here