Skip to content

Commit

Permalink
Fix CSG Path Polygon cache being removed after connect
Browse files Browse the repository at this point in the history
fixes #30229

(cherry picked from commit bab36f1)
  • Loading branch information
HaSa1002 authored and akien-mga committed Apr 29, 2021
1 parent 46a5f3a commit 00b70f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/csg/csg_shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 00b70f6

Please sign in to comment.