Browse Source

Fix CSGMesh undo not refreshing gizmo

Marcel Admiraal 4 years ago
parent
commit
4311c2f66e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/csg/csg_shape.cpp

+ 1 - 1
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));
 		mesh->connect("changed", callable_mp(this, &CSGMesh3D::_mesh_changed));
 	}
 	}
 
 
-	_make_dirty();
+	_mesh_changed();
 }
 }
 
 
 Ref<Mesh> CSGMesh3D::get_mesh() {
 Ref<Mesh> CSGMesh3D::get_mesh() {