GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

Transformation to decals doesn't undo properly (and lost alpha opacity) #58

Open DavidWyand-GG opened 12 years ago

DavidWyand-GG commented 12 years ago

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

Originally from THREED-1668

Build: T3D 1.1 Preview (not sure about previous Betas)

Platform: Any

Target: decal editor.

Issue: When rotating a decal and then reverting with CTRL+Z (or undo from the "edit" menu) ■The decal doesn't revert to the previous orientation [EDIT:] but to an arbitrary orientation becoming messy /EDIT ■Sometimes also all the 3 axis representations get skewed or ends laying on the same plane ■Sometimes the decal is also nomore taking in account the alpha opacity it previously had

Click to enlarge :

Click to enlarge :

Repeat: Open Deathball Desert level. Select a decal and rotate it. Then try undo the operation.

DavidWyand-GG commented 12 years ago

Will have to hold off on submitting a fix for this. The solution in the GG repo only handles part of the problem by restricting rotation about the decal's normal. There also needs to be a method to rotate the normal itself.