Skip to content

Commit

Permalink
Merge pull request godotengine#48174 from madmiraal/fix-csgmesh-undo
Browse files Browse the repository at this point in the history
Fix `CSGMesh` undo not refreshing gizmo
  • Loading branch information
akien-mga authored Apr 25, 2021
2 parents 592f8ec + 4311c2f commit 15a85fe
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 15a85fe

Please sign in to comment.