mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
Deleting a probe in the editor now automatically does a cleanup of it's baked cubemap files
Also added it to do the prefilter/irrad processing on any StaticCubemap selected.
This commit is contained in:
parent
1fc38d496f
commit
835513b861
4 changed files with 28 additions and 8 deletions
|
|
@ -155,6 +155,9 @@ void MEDeleteUndoAction::deleteObject( SimObject *object )
|
|||
if ( group )
|
||||
state.groupId = group->getId();
|
||||
|
||||
//Do any special handling of delete actions the object may do
|
||||
object->handleDeleteAction();
|
||||
|
||||
// Now delete the object.
|
||||
object->deleteObject();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue