Explorar o código

Fix CSGMesh undo not refreshing gizmo

(cherry picked from commit 4311c2f66e4a1c9b7b77e8d3cdce4be8fa3ec7fa)
Marcel Admiraal %!s(int64=4) %!d(string=hai) anos
pai
achega
d8607d8045
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/csg/csg_shape.cpp

+ 1 - 1
modules/csg/csg_shape.cpp

@@ -911,7 +911,7 @@ void CSGMesh::set_mesh(const Ref<Mesh> &p_mesh) {
 		mesh->connect("changed", this, "_mesh_changed");
 	}
 
-	_make_dirty();
+	_mesh_changed();
 }
 
 Ref<Mesh> CSGMesh::get_mesh() {