Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random issues crashing ShapeEditor shape saveShape() #56

Closed
DavidWyand-GG opened this issue Oct 3, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@DavidWyand-GG
Copy link
Member

commented Oct 3, 2012

http://www.garagegames.com/community/forums/viewthread/129094

Originally from THREED-3147

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.

@ghost ghost assigned DavidWyand-GG Oct 3, 2012

DavidWyand-GG added a commit that referenced this issue Oct 3, 2012

@DavidWyand-GG

This comment has been minimized.

Copy link
Member Author

commented Oct 3, 2012

Fix has been merged into development branch.

Dwarf-King pushed a commit to Dwarf-King/Torque3D that referenced this issue Apr 10, 2013

Azaezel pushed a commit to Azaezel/Torque3D that referenced this issue Jul 1, 2019

Merge pull request GarageGames#56 from Azaezel/alpha40_4_entityCompon…
…entCleanup

Alpha40 4 entity component cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.