Fix CSG Path Polygon cache being removed after connect

fixes #30229

(cherry picked from commit bab36f1273)
This commit is contained in:
Johannes Witt 2021-04-27 13:58:01 +02:00 committed by Rémi Verschelde
parent 1489b814aa
commit 41a016c1e8
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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()) {