Merge pull request #61377 from smix8/navigation_gridmap_custom_mesh_offsets_4.x

This commit is contained in:
Rémi Verschelde 2022-05-24 23:31:12 +02:00 committed by GitHub
commit 7da1c1b9fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}