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 @@ -1657,8 +1657,10 @@ void EditorFileSystem::_queue_update_script_class(const String &p_path) {
16571657}
16581658
16591659void EditorFileSystem::_update_scene_groups () {
1660- update_scene_mutex.lock ();
1660+ EditorProgress ep (" update_scene_groups" , TTR (" Update Scene Groups" ), update_scene_paths.size ());
1661+ int step_count = 0 ;
16611662
1663+ update_scene_mutex.lock ();
16621664 for (const String &path : update_scene_paths) {
16631665 ProjectSettings::get_singleton ()->remove_scene_groups_cache (path);
16641666
@@ -1674,6 +1676,8 @@ void EditorFileSystem::_update_scene_groups() {
16741676 if (!scene_groups.is_empty ()) {
16751677 ProjectSettings::get_singleton ()->add_scene_groups_cache (path, scene_groups);
16761678 }
1679+
1680+ ep.step (TTR (" Updating Scene Groups..." ), step_count++);
16771681 }
16781682
16791683 update_scene_paths.clear ();
You can’t perform that action at this time.
0 commit comments