1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Don't create scene thumbnail before its saved, issue 22890

This commit is contained in:
Paulb23
2018-10-21 15:38:01 +01:00
parent 5c04535e10
commit 642ba881ea

View File

@@ -3892,8 +3892,10 @@ void EditorNode::_scene_tab_hover(int p_tab) {
tab_preview_panel->hide();
} else {
String path = editor_data.get_scene_path(p_tab);
if (path != String()) {
EditorResourcePreview::get_singleton()->queue_resource_preview(path, this, "_thumbnail_done", p_tab);
}
}
}
void EditorNode::_scene_tab_exit() {