How can I perform some actions before deleting an object.
If I have an object that has a relation with some other objects in the scene. and the object was selected in the screen then deleted.
How can I perform some changes (in a python add on program) to the other objects before the object is really deleted?