#37 [COLLADA] Slightly more useful error text

closed-fixed
nobody
None
5
2012-09-21
2012-04-23
Andy Maloney
No

Just fixes one error text that was incorrect ["vertices" instead of the actual tag] and adds a little bit more info when an unexpected tag is found in 3 cases.

So instead of:
Collada: test.dae - Unexpected sub element in tag "vertices"

You'll get:
Collada: test.dae - Unexpected sub element <ph> in tag <polygons>

Discussion

  • Andy Maloney
    Andy Maloney
    2012-04-23

     
    Attachments
    • status: open --> closed-fixed
     
  • Comitted as revision 1301. I also did a quick search for the word "fuck" in the Collada loader... it *is* a horrible format, but in hindsight it's not the absolute worst I've ever seen, so I moderated the code comments a bit.