Game Development Community

random issues crashing ShapeEditor shape saveShape() - LOGGED (THREED-3147)

by Jeff Yaskus · in Torque 3D Professional · 12/11/2011 (9:23 pm) · 4 replies

I've tried this with several different models, stock torque and otherwise.

In the process of "cleanig up" all my 3d assets and testing them with T3D.

All the custom models I tested load up and "seem" to be fine - no errors, animations work, etc.

However, when loading them in T3D1.2 ShapeEditor ... and try to save the shape as a new dts using saveShape() function ... (even without making any changes) ... most of them caused the editor to start writing the file, then crash.

The custom models were fixed by re-importing using the COLLADA and using SingleDTS "detection".
This created a LOD(2) by default -- and NONE of the models had issues with saveShape() after that.

... So I then proceeded to make the required mount points, eye, cam, etc ... and so on.

- NEXT -

I then turned to the standard Torque assets ...

"Boombot" has detail levels, but still causes a crash when trying to save in shape editor view
//in console //
ShapeEditor.shape.saveShape("./test.dts");

... Soldier, Alien saved ok

Then I tried some of the models purchased from GG stores ... and had same issues as my custom art.
It loads and works fine -- but saveShape() crashed when trying to save to a new file. Even with no changes.
And most all of that content had LODs, etc ... already built into the DTS models.

Could it be an issue with DTS v24 versus v26 ? Or just a coincidence ???

Here are specific steps to reproduce the crash;

Load T3D 1.2 / FPS Example

Hit F11, enter editor mode ... select shape editor
load art/shapes/actors/boombot/boombot.dts

open console window, type:

ShapeEditor.shape.saveShape("newShape.dts");

... crash.


#1
12/13/2011 (12:04 pm)
Entered this as a minor bug as well ... using "Support -> submit bugs"
#2
01/11/2012 (10:30 am)
Thank you for the bug report Jeff. I've gone ahead and logged this issue under ticket number THREED-3147 for review.
#3
10/03/2012 (3:29 pm)
A fix for this has been checked into the GitHub development branch. github.com/GarageGames/Torque3D/issues/56

- Dave
#4
10/04/2012 (9:15 pm)
Awesome, Great to see the open source in action!