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:
Areloch 2018-12-10 00:46:28 -06:00
parent 1fc38d496f
commit 835513b861
4 changed files with 28 additions and 8 deletions

View file

@ -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