1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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

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