1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

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

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