Added deletion tracking so when we delete a probe, it'll delete the prefilter/irrad bakes if they exist.

WIP of static cubemap bake(not working).
This commit is contained in:
Areloch 2018-12-07 00:30:08 -06:00
parent 1766e291ba
commit 1fc38d496f
5 changed files with 106 additions and 78 deletions

View file

@ -744,7 +744,7 @@ class SimObject: public ConsoleObject, public TamlCallbacks
void unregisterObject();
/// Unregister, mark as deleted, and free the object.
void deleteObject();
virtual void deleteObject();
/// Performs a safe delayed delete of the object using a sim event.
void safeDeleteObject();