diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-06 07:43:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 07:43:52 +0200 |
commit | 89449bd0e30f036f0aa21b2cb11d302bad9052be (patch) | |
tree | d08d774fa53fc3368b13a23c0c3b5a9cd6327d57 /modules/gridmap | |
parent | 066692b6d081f1577bc0ebcd84da204339218ec6 (diff) | |
parent | 1dc7bcc83c81b32c3651f3fa869055a0cce22085 (diff) |
Merge pull request #59804 from KoBeWi/sponsored_by_Meta
Cleanup metadata usage
Diffstat (limited to 'modules/gridmap')
-rw-r--r-- | modules/gridmap/editor/grid_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/editor/grid_map_editor_plugin.cpp b/modules/gridmap/editor/grid_map_editor_plugin.cpp index 68968325dd..2f613768ee 100644 --- a/modules/gridmap/editor/grid_map_editor_plugin.cpp +++ b/modules/gridmap/editor/grid_map_editor_plugin.cpp @@ -957,7 +957,7 @@ void GridMapEditor::update_grid() { } void GridMapEditor::_draw_grids(const Vector3 &cell_size) { - Vector3 edited_floor = node->has_meta("_editor_floor_") ? node->get_meta("_editor_floor_") : Variant(); + Vector3 edited_floor = node->get_meta("_editor_floor_", Vector3()); for (int i = 0; i < 3; i++) { RS::get_singleton()->mesh_clear(grid[i]); |