You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix ProcessDialog errors appeared after rebuilding .NET project
This commit is contained in:
@@ -1872,7 +1872,12 @@ void EditorFileSystem::_update_script_classes() {
|
||||
|
||||
EditorProgress *ep = nullptr;
|
||||
if (update_script_paths.size() > 1) {
|
||||
ep = memnew(EditorProgress("update_scripts_classes", TTR("Registering global classes..."), update_script_paths.size()));
|
||||
if (MessageQueue::get_singleton()->is_flushing()) {
|
||||
// Use background progress when message queue is flushing.
|
||||
ep = memnew(EditorProgress("update_scripts_classes", TTR("Registering global classes..."), update_script_paths.size(), false, true));
|
||||
} else {
|
||||
ep = memnew(EditorProgress("update_scripts_classes", TTR("Registering global classes..."), update_script_paths.size()));
|
||||
}
|
||||
}
|
||||
|
||||
int step_count = 0;
|
||||
@@ -1911,7 +1916,12 @@ void EditorFileSystem::_update_script_documentation() {
|
||||
|
||||
EditorProgress *ep = nullptr;
|
||||
if (update_script_paths_documentation.size() > 1) {
|
||||
ep = memnew(EditorProgress("update_script_paths_documentation", TTR("Updating scripts documentation"), update_script_paths_documentation.size()));
|
||||
if (MessageQueue::get_singleton()->is_flushing()) {
|
||||
// Use background progress when message queue is flushing.
|
||||
ep = memnew(EditorProgress("update_script_paths_documentation", TTR("Updating scripts documentation"), update_script_paths_documentation.size(), false, true));
|
||||
} else {
|
||||
ep = memnew(EditorProgress("update_script_paths_documentation", TTR("Updating scripts documentation"), update_script_paths_documentation.size()));
|
||||
}
|
||||
}
|
||||
|
||||
int step_count = 0;
|
||||
|
||||
Reference in New Issue
Block a user