summaryrefslogtreecommitdiff
path: root/modules/csg/csg_shape.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-25 11:14:46 +0200
committerGitHub <noreply@github.com>2021-04-25 11:14:46 +0200
commit15a85fe9713668f8ba6143352fd27d419a96ba83 (patch)
treee2aa2a66309e8b6323f7a4ef345a79dba7037c0b /modules/csg/csg_shape.cpp
parent592f8ecb5cba7f00e06f7e2e575e8a2d5b7b4619 (diff)
parent4311c2f66e4a1c9b7b77e8d3cdce4be8fa3ec7fa (diff)
Merge pull request #48174 from madmiraal/fix-csgmesh-undo
Fix `CSGMesh` undo not refreshing gizmo
Diffstat (limited to 'modules/csg/csg_shape.cpp')
-rw-r--r--modules/csg/csg_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp
index 77be493be9..ecdab025d0 100644
--- a/modules/csg/csg_shape.cpp
+++ b/modules/csg/csg_shape.cpp
@@ -880,7 +880,7 @@ void CSGMesh3D::set_mesh(const Ref<Mesh> &p_mesh) {
mesh->connect("changed", callable_mp(this, &CSGMesh3D::_mesh_changed));
}
- _make_dirty();
+ _mesh_changed();
}
Ref<Mesh> CSGMesh3D::get_mesh() {