Fix CSG Path Polygon cache being removed after connect

fixes #30229
This commit is contained in:
Johannes Witt 2021-04-27 13:58:01 +02:00
parent 1943d2bda6
commit bab36f1273
No known key found for this signature in database
GPG Key ID: B988B760383F3A91
1 changed files with 0 additions and 1 deletions

View File

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