From 00b70f60bb9da53fc291f11c1ad9fbdf5bfc689c Mon Sep 17 00:00:00 2001 From: Johannes Witt Date: Tue, 27 Apr 2021 13:58:01 +0200 Subject: [PATCH] Fix CSG Path Polygon cache being removed after connect fixes #30229 (cherry picked from commit bab36f12737769dd5f5c876731bc334323a4c5d2) --- modules/csg/csg_shape.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index 392b38d696a..fefd1dd4bea 100644 --- a/modules/csg/csg_shape.cpp +++ b/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()) {