Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Bug with texture file names in Collada Importer (ColladaLoader::ConvertPath)

  • mike morrison
    mike morrison

    The ColladaLoader::ConvertPath function does not work properly for certain files with special characters.

    The offending code is at line 1452 of ColladaLoader.cpp (of the version 3.0 release).

    Consider the following example:


    %20 should be replaced with a space, but the ConvertPath function uses strtoul16 to convert the hex string to a number without limiting it to two characters. It then ands it with 0xFF and converts back to a string. So 2032 & 0xFF = '\32'.

    Actual result:


    Expected result:

    "Texture 32.png"

  • Nope. This bug has been fixed ... a while ago, I think. At least a year. Get the latest version from GitHub to fix it.