Currently the scene object template cache is invalidated every time SetScene is called on the EditorViewport. However, this is only necessary if a scene object template has actually been changed. It is better to watch for changes on a scene_object and clear the cache in that case. (Removing only the changed template does not work because other templates may depend on it).
Currently the scene object template cache is invalidated every time SetScene is called on the EditorViewport. However, this is only necessary if a scene object template has actually been changed. It is better to watch for changes on a
scene_objectand clear the cache in that case. (Removing only the changed template does not work because other templates may depend on it).