Implement missing autorestart in oneshot node, closes #22238
This commit is contained in:
parent
b0758b2d73
commit
b3335e943b
3 changed files with 25 additions and 2 deletions
|
|
@ -424,7 +424,7 @@ void ImportDock::_reimport_attempt() {
|
|||
void ImportDock::_reimport_and_restart() {
|
||||
|
||||
EditorNode::get_singleton()->save_all_scenes();
|
||||
EditorResourcePreview::get_singleton()->stop(); //dont try to re-create previews
|
||||
EditorResourcePreview::get_singleton()->stop(); //dont try to re-create previews after import
|
||||
_reimport();
|
||||
EditorNode::get_singleton()->restart_editor();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue