Fix GridMap not adding custom mesh offsets to NavigationMesh generation

Fix GridMap not adding custom mesh offsets to NavigationMesh generation

(cherry picked from commit ae4b2597a1)
This commit is contained in:
smix8 2022-05-24 19:50:57 +02:00 committed by Rémi Verschelde
parent 1b297eb047
commit 3891186536
1 changed files with 1 additions and 1 deletions

View File

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