1
0
Fork 0

Merge pull request #99695 from peterdang1502/error-calling-deferred-method-99571

Fix argument error when restarting project by executing Project -> Tools -> Upgrade Mesh Surface
This commit is contained in:
Thaddeus Crews 2024-12-10 14:16:05 -06:00
commit ba89529390
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ void SurfaceUpgradeTool::prepare_upgrade() {
EditorSettings::get_singleton()->set_project_metadata("surface_upgrade_tool", "resave_paths", resave_paths);
// Delay to avoid deadlocks, since this dialog can be triggered by loading a scene.
callable_mp(EditorNode::get_singleton(), &EditorNode::restart_editor).call_deferred();
callable_mp(EditorNode::get_singleton(), &EditorNode::restart_editor).call_deferred(false);
}
// Ensure that the warnings and popups are skipped.