File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1664,8 +1664,10 @@ void EditorFileSystem::_queue_update_script_class(const String &p_path) {
16641664}
16651665
16661666void EditorFileSystem::_update_scene_groups () {
1667- update_scene_mutex.lock ();
1667+ EditorProgress ep (" update_scene_groups" , TTR (" Update Scene Groups" ), update_scene_paths.size ());
1668+ int step_count = 0 ;
16681669
1670+ update_scene_mutex.lock ();
16691671 for (const String &path : update_scene_paths) {
16701672 ProjectSettings::get_singleton ()->remove_scene_groups_cache (path);
16711673
@@ -1681,6 +1683,8 @@ void EditorFileSystem::_update_scene_groups() {
16811683 if (!scene_groups.is_empty ()) {
16821684 ProjectSettings::get_singleton ()->add_scene_groups_cache (path, scene_groups);
16831685 }
1686+
1687+ ep.step (TTR (" Updating Scene Groups..." ), step_count++);
16841688 }
16851689
16861690 update_scene_paths.clear ();
You can’t perform that action at this time.
0 commit comments