Game Development Community

T3D 1.1 Beta 3 - Forest Editor - Cannot Delete Forest Meshes - RESOLVED

by Steve Acaster · in Torque 3D Professional · 11/09/2010 (1:31 am) · 5 replies

I swear this is a real bug in Forest Editor ;)
Not a big bug though


T3D 1.1 Beta 3 Pro

Win7 32bit

Issue
Cannot Delete Meshes From Forest Editor

Repeat
In Forest Editor, click Meshes and add a mesh. Save, quit, restart. Delete that mesh (using the trash icon) it gives you a warning that says "Deleting this mesh will also delete BrushesElements and ForestItems referencing it". Hit OK. Save, quit, restart. Go to Forest Editor, see that the mesh that you just deleted is still there.

Suggest
Delete it from the file where it's stored.

08 APRIL 2011 FIXED IN 1.1 PREVIEW

#1
11/09/2010 (1:48 am)
..not to be an asshat here but I can't delete any object from the mission nearly half of the time.
#2
11/09/2010 (4:41 pm)
You win this round Steve. ;)

Bug confirmed and logged as THREED-1292.

@eb
If you're having an issue then please submit a bug report for it, or just start a thread about it, or you can even email me to ask about it.
#3
01/10/2011 (11:20 pm)
I had a similar problem.
I loaded up various objects from the stick pack then deleted some ferns I didn't want. I saved, then when I reloaded the lilly pads I had just added to the level have turned into ferns, also various other items have turned into ferns, and some other items have turned into other deleted things.
#4
02/04/2011 (11:48 am)
I've put in a fix for Steve's issue into 1.1 Final. In game/tools/forestEditor/forestEditorGui.cs, modify the following method to include the remove from file:

function ForestEditorGui::okDeleteMesh( %this, %mesh )
{
   // Remove mesh from file
   ForestDataManager.removeObjectFromFile( %mesh, "art/forest/managedItemData.cs" );  

   // Submitting undo actions is handled in code.
   %this.deleteMeshSafe( %mesh );   
   
   // Update TreeViews.
   ForestEditBrushTree.buildVisibleTree( true );
   ForestEditMeshTree.buildVisibleTree( true );
   
   ForestEditorPlugin.dirty = true;
}

- Dave
#5
04/18/2011 (4:03 pm)
Fixed in 1.1 Final and Preview.