summaryrefslogtreecommitdiff
path: root/modules/gridmap/grid_map.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-24 23:31:12 +0200
committerGitHub <noreply@github.com>2022-05-24 23:31:12 +0200
commit7da1c1b9fafee230f6566effd12a86b8a2d89b94 (patch)
treee27057e26b9c27a6ba0695c8b78134416dd9c8d1 /modules/gridmap/grid_map.cpp
parent2dc7ee47113b5dae36efbfcd41e150b3b0bc4ea3 (diff)
parentae4b2597a11308d86fc63acd5607c37fd2ce6304 (diff)
Merge pull request #61377 from smix8/navigation_gridmap_custom_mesh_offsets_4.x
Diffstat (limited to 'modules/gridmap/grid_map.cpp')
-rw-r--r--modules/gridmap/grid_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp
index c70a8121e8..dcdb520d11 100644
--- a/modules/gridmap/grid_map.cpp
+++ b/modules/gridmap/grid_map.cpp
@@ -970,7 +970,7 @@ Array GridMap::get_meshes() const {
xform.set_origin(cellpos * cell_size + ofs);
xform.basis.scale(Vector3(cell_scale, cell_scale, cell_scale));
- meshes.push_back(xform);
+ meshes.push_back(xform * mesh_library->get_item_mesh_transform(id));
meshes.push_back(mesh);
}