mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
[Editor] Add EditorPlugin::scene_saved signal
Matches the `EditorNode` one for parity with the exposed `resource_saved` signal
This commit is contained in:
parent
0bcc0e92b3
commit
97b469c46d
6 changed files with 22 additions and 2 deletions
|
|
@ -1805,6 +1805,7 @@ void EditorNode::_save_scene(String p_file, int idx) {
|
|||
|
||||
// This needs to be emitted before saving external resources.
|
||||
emit_signal(SNAME("scene_saved"), p_file);
|
||||
editor_data.notify_scene_saved(p_file);
|
||||
|
||||
_save_external_resources();
|
||||
saving_scene = p_file; // Some editors may save scenes of built-in resources as external data, so avoid saving this scene again.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue