Game Development Community

TGB 1.6: Image Editor - call to nonexistant function

by Joe Rossi · in Torque Game Builder · 12/22/2007 (2:50 pm) · 0 replies

I know it's probably not a big deal or a "bug" per se, but just so it's not missed in the next release...

I found this while editing the imageMap editor sources.

tools\imageEditor\scripts\editor.ed.cs
inside function ImageEditor::delete
line 456:
// prompt the user with how many references this image map has
 checkImageMapReference(%this.sourceDB, Toolmanager.getLastWindow().getScenegraph(), "ImageEditor.cancel();");

There is no checkImageMapReference anywhere in the code, and this leads to a couple of warnings being printed whenever you delete an imageMap.