Game Development Community

T3D 1.1 Beta 2 - Deleting Materials from terrain editor not fully deleting from materials.cs - RESOLVED

by Andy Wright · in Torque 3D Professional · 08/13/2010 (6:17 pm) · 9 replies

(what version are you using?)
Build: 1.1 Beta 2

(what platform/OS did this happen on?)
Platform: Windows Vista 32bit

(where is this bug happening?)
Terrain Material Editor

(what is the bug)
When deleting a material from the Terrain material editor, it does not fully remove the entry from the materials.cs (It deletes upto the } but does not remove the ; linebreak ) meaning any entries after this in the materials.cs script no longer show up within the editor

(tell us how to trigger the bug)
Steps to Repeat:
1. Open the terrain painter material editor
2. Delete a material in the middle of the list
3. Close and relaunch T3D
4. Open the material Editor and anything that was below the deleted texture will no show


(if you know the solution, please post it.)
Open the materials.cs file and manually delete the unrequired ; this should make the materials list show up fully again









I did do a search to see if this had already been posted however the sites search function makes me want to throttle kittens to death...

#1
08/13/2010 (9:04 pm)
Logged as TQA-819 for the QA team to verify.
#2
08/17/2010 (10:46 pm)
sorry to bump, can anyone else confirm this or is it just me thats getting this. its turning out to be a right pain in the proverbial at the moment lol

as a side note, if its the last material in the list thats deleted, you wont see any problem untill you add a new material as it goes into the materials.cs file after the rogue ;

you will have to restart torque for the material to disappear from the editor ingame, which also removes that layer from any terrain that uses it.
#3
08/17/2010 (11:01 pm)
Yep, I can see that issue.

Also on the mention of throttling kittens ... Torque Powered Google Powered Power Search ... errr ... powered ...
#4
08/18/2010 (1:25 pm)
...I have seen the roque " ; " as well....not in this editor[don't do terrain stuf]...and can't remember which one; but definitely with 'materials'.

Kept seeing an error report in the console......opened the file to see a single SemiColon on a single line of script.
#6
08/22/2010 (2:45 pm)
...that be it, me tinks!
#7
08/24/2010 (4:33 pm)
Bug confirmed.
#8
08/30/2010 (6:46 pm)
This is fixed in 1.1 Beta 3.
#9
08/31/2010 (12:00 am)
love you