diff options
author | Johannes Witt <johawitt@outlook.de> | 2021-04-27 13:58:01 +0200 |
---|---|---|
committer | Johannes Witt <johawitt@outlook.de> | 2021-04-27 13:58:01 +0200 |
commit | bab36f12737769dd5f5c876731bc334323a4c5d2 (patch) | |
tree | 26d7c750b1a5a1e9e09210a05a447ef0c0e72aa4 | |
parent | 1943d2bda67d7f5161c6e29586099ec42455d118 (diff) |
Fix CSG Path Polygon cache being removed after connect
fixes #30229
-rw-r--r-- | modules/csg/csg_shape.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index ecdab025d0..05927dafc0 100644 --- a/modules/csg/csg_shape.cpp +++ b/modules/csg/csg_shape.cpp @@ -1741,7 +1741,6 @@ CSGBrush *CSGPolygon3D::_build_brush() { path_cache->connect("tree_exited", callable_mp(this, &CSGPolygon3D::_path_exited)); path_cache->connect("curve_changed", callable_mp(this, &CSGPolygon3D::_path_changed)); - path_cache = nullptr; } curve = path->get_curve(); if (curve.is_null()) { |