瀏覽代碼

Fix CSG Path Polygon cache being removed after connect

fixes #30229

(cherry picked from commit bab36f12737769dd5f5c876731bc334323a4c5d2)
Johannes Witt 4 年之前
父節點
當前提交
00b70f60bb
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      modules/csg/csg_shape.cpp

+ 0 - 1
modules/csg/csg_shape.cpp

@@ -1832,7 +1832,6 @@ CSGBrush *CSGPolygon::_build_brush() {
 
 			path_cache->connect("tree_exited", this, "_path_exited");
 			path_cache->connect("curve_changed", this, "_path_changed");
-			path_cache = NULL;
 		}
 		curve = path->get_curve();
 		if (curve.is_null()) {