mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Added EditorPlugin 'resource_saved' signal
This commit is contained in:
parent
920715b97d
commit
80595ba92b
5 changed files with 16 additions and 0 deletions
|
|
@ -596,6 +596,7 @@ void EditorNode::save_resource_in_path(const Ref<Resource> &p_resource, const St
|
|||
|
||||
((Resource *)p_resource.ptr())->set_path(path);
|
||||
emit_signal("resource_saved", p_resource);
|
||||
editor_data.notify_resource_saved(p_resource);
|
||||
}
|
||||
|
||||
void EditorNode::save_resource(const Ref<Resource> &p_resource) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue