Skip to content

Commit

Permalink
Fix CSGMesh undo not refreshing gizmo
Browse files Browse the repository at this point in the history
  • Loading branch information
madmiraal committed Apr 25, 2021
1 parent d1dc28e commit 4311c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/csg/csg_shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4311c2f

Please sign in to comment.