summaryrefslogtreecommitdiffstats
path: root/modules/gridmap
diff options
context:
space:
mode:
authorDennisManaa <dennis.manaa@gmx.net>2023-10-18 21:06:28 +0200
committerDennisManaa <dennis.manaa@gmx.net>2023-10-23 10:14:08 +0200
commit1a1c54283653fa021ab604dbe29396b26c58b5ad (patch)
treee9f32a4dd4ffb8df14b6870aa9187c5a2ed41d02 /modules/gridmap
parent7f884b4e0017368e193d96f425aac6c2d8a86eb0 (diff)
downloadredot-engine-1a1c54283653fa021ab604dbe29396b26c58b5ad.tar.gz
Implement automatic translation for ItemList
Diffstat (limited to 'modules/gridmap')
-rw-r--r--modules/gridmap/editor/grid_map_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gridmap/editor/grid_map_editor_plugin.cpp b/modules/gridmap/editor/grid_map_editor_plugin.cpp
index f7c01ff840..225138dfb3 100644
--- a/modules/gridmap/editor/grid_map_editor_plugin.cpp
+++ b/modules/gridmap/editor/grid_map_editor_plugin.cpp
@@ -1316,6 +1316,7 @@ GridMapEditor::GridMapEditor() {
EDITOR_DEF("editors/grid_map/preview_size", 64);
mesh_library_palette = memnew(ItemList);
+ mesh_library_palette->set_auto_translate(false);
add_child(mesh_library_palette);
mesh_library_palette->set_v_size_flags(SIZE_EXPAND_FILL);
mesh_library_palette->connect("gui_input", callable_mp(this, &GridMapEditor::_mesh_library_palette_input));