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
  • Loading branch information
smix8 committed May 24, 2022
1 parent 01d383a commit ae4b259
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 @@ -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);
}

Expand Down

0 comments on commit ae4b259

Please sign in to comment.