Fix gridmap disappearing after editing after bake, closes #14868
This commit is contained in:
parent
0ead6b3cf5
commit
360449a094
@ -475,7 +475,7 @@ bool GridMap::_octant_update(const OctantKey &p_key) {
|
||||
xform.basis.set_orthogonal_index(c.rot);
|
||||
xform.set_origin(cellpos * cell_size + ofs);
|
||||
xform.basis.scale(Vector3(cell_scale, cell_scale, cell_scale));
|
||||
if (baked_meshes.size()) {
|
||||
if (baked_meshes.size() == 0) {
|
||||
if (theme->get_item_mesh(c.item).is_valid()) {
|
||||
if (!multimesh_items.has(c.item)) {
|
||||
multimesh_items[c.item] = List<Pair<Transform, IndexKey> >();
|
||||
|
Loading…
Reference in New Issue
Block a user