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 46a5f3a18e
commit 00b70f60bb
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 1 deletions

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