aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-08-31 18:57:03 -0300
committerJuan Linietsky2017-08-31 18:57:44 -0300
commitd39e79e7ec8e010c251d9df3ece7cb7675a2c7a5 (patch)
tree1348dd251d9dc6977b57b078369a2575e8805ab3 /editor/editor_file_system.cpp
parent909c1fd120b58155e4f7b78d60b19a9f13528e07 (diff)
downloadgodot-d39e79e7ec8e010c251d9df3ece7cb7675a2c7a5.tar.gz
godot-d39e79e7ec8e010c251d9df3ece7cb7675a2c7a5.tar.zst
godot-d39e79e7ec8e010c251d9df3ece7cb7675a2c7a5.zip
Diffstat (limited to 'editor/editor_file_system.cpp')
-rw-r--r--editor/editor_file_system.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp
index c175886d1..3f4d46608 100644
--- a/editor/editor_file_system.cpp
+++ b/editor/editor_file_system.cpp
@@ -1509,6 +1509,8 @@ void EditorFileSystem::reimport_files(const Vector<String> &p_files) {
if (!is_scanning()) {
emit_signal("filesystem_changed");
}
+
+ emit_signal("resources_reimported", p_files);
}
void EditorFileSystem::_bind_methods() {
@@ -1524,6 +1526,7 @@ void EditorFileSystem::_bind_methods() {
ADD_SIGNAL(MethodInfo("filesystem_changed"));
ADD_SIGNAL(MethodInfo("sources_changed", PropertyInfo(Variant::BOOL, "exist")));
+ ADD_SIGNAL(MethodInfo("resources_reimported", PropertyInfo(Variant::POOL_STRING_ARRAY, "resources")));
}
void EditorFileSystem::_update_extensions() {