Game Development Community

Gui Builder Crops Text Above //--- Object Write Begin

by James Ford · in Torque Game Builder · 08/21/2007 (3:28 pm) · 2 replies

I'm using TGB 1.5.1

This is easily reproducable. Create a new empty project, open up the mainscreen.gui, add something like
"function test() {}" above the //--- OBJECT WRITE BEGIN ---and another below //--- OBJECT WRITE END ---.

Then load the gui in the gui builder and resave it to the same filename. Go back and look at the file. The function at the top should be gone while the one at the bottom remains.


Original Thread:

http://www.garagegames.com/mg/forums/result.thread.php?qt=66262#481611

#1
08/22/2007 (1:48 pm)
YIKES! That's what happened!!!
#2
08/22/2007 (2:13 pm)
Fwiw, in TGE 1.3.5, saving out Mission files works correctly in this respect.