diff options
author | DennisManaa <dennis.manaa@gmx.net> | 2023-10-18 21:06:28 +0200 |
---|---|---|
committer | DennisManaa <dennis.manaa@gmx.net> | 2023-10-23 10:14:08 +0200 |
commit | 1a1c54283653fa021ab604dbe29396b26c58b5ad (patch) | |
tree | e9f32a4dd4ffb8df14b6870aa9187c5a2ed41d02 /modules/gridmap | |
parent | 7f884b4e0017368e193d96f425aac6c2d8a86eb0 (diff) | |
download | redot-engine-1a1c54283653fa021ab604dbe29396b26c58b5ad.tar.gz |
Implement automatic translation for ItemList
Diffstat (limited to 'modules/gridmap')
-rw-r--r-- | modules/gridmap/editor/grid_map_editor_plugin.cpp | 1 |
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)); |