mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -744,11 +744,14 @@ class SimObject: public ConsoleObject, public TamlCallbacks
|
|||
void unregisterObject();
|
||||
|
||||
/// Unregister, mark as deleted, and free the object.
|
||||
virtual void deleteObject();
|
||||
void deleteObject();
|
||||
|
||||
/// Performs a safe delayed delete of the object using a sim event.
|
||||
void safeDeleteObject();
|
||||
|
||||
/// Special-case deletion behaviors, largely intended for cleanup in particular cases where it wouldn't happen automatically(like cleanup of associated files)
|
||||
virtual void handleDeleteAction() {}
|
||||
|
||||
/// @}
|
||||
|
||||
/// @name Accessors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue