You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Add thumnails to the tree view
This commit is contained in:
@@ -3915,7 +3915,7 @@ void EditorNode::_reposition_active_tab(int idx_to) {
|
||||
_update_scene_tabs();
|
||||
}
|
||||
|
||||
void EditorNode::_thumbnail_done(const String &p_path, const Ref<Texture> &p_preview, const Variant &p_udata) {
|
||||
void EditorNode::_thumbnail_done(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, const Variant &p_udata) {
|
||||
int p_tab = p_udata.operator signed int();
|
||||
if (p_preview.is_valid()) {
|
||||
Rect2 rect = scene_tabs->get_tab_rect(p_tab);
|
||||
|
||||
Reference in New Issue
Block a user