Skip to content

Commit

Permalink
Fix GridMap not adding custom mesh offsets to NavigationMesh generation
Browse files Browse the repository at this point in the history
Fix GridMap not adding custom mesh offsets to NavigationMesh generation

(cherry picked from commit ae4b259)
  • Loading branch information
smix8 authored and Riordan-DC committed Jan 23, 2023
1 parent f8ae631 commit ee74f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gridmap/grid_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,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);
}

Expand Down

0 comments on commit ee74f87

Please sign in to comment.