Merge pull request #15640 from willnationsdev/resource-saved-signal

Added EditorPlugin 'resource_saved' signal
This commit is contained in:
Max Hilbrunner
2018-05-07 15:07:32 +02:00
committed by GitHub
5 changed files with 16 additions and 0 deletions

View File

@@ -631,6 +631,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) {