1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

implement individual mesh transform for meshlibrary items

This commit is contained in:
Vincent
2021-09-01 01:17:33 +02:00
parent 3174e2782c
commit 70108fd850
9 changed files with 99 additions and 26 deletions

View File

@@ -475,7 +475,7 @@ bool GridMap::_octant_update(const OctantKey &p_key) {
}
Pair<Transform3D, IndexKey> p;
p.first = xform;
p.first = xform * mesh_library->get_item_mesh_transform(c.item);
p.second = E->get();
multimesh_items[c.item].push_back(p);
}