You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Stop preview generator before reimporting resources with different type.
This commit is contained in:
@@ -424,6 +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
|
||||
_reimport();
|
||||
EditorNode::get_singleton()->restart_editor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user