'clear_objects' clears all objects if executed on an empty list
Exectuting clear_objects(objects = objectlist) where objectlist = [] leads to clearing all objects from the scene.
Exectuting clear_objects(objects = objectlist) where objectlist = [] leads to clearing all objects from the scene.