From 156862bddbd0041796c54dfd478054c350750da0 Mon Sep 17 00:00:00 2001 From: Evan Todd Date: Mon, 15 May 2023 16:52:39 -0700 Subject: [PATCH] Fix CSGPolygon3D in path mode disappearing at runtime. (cherry picked from commit da7e54ec17a77cbb567e88996f2132c92fedef75) --- modules/csg/csg_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index ba0d49c9934..2292e564652 100644 --- a/modules/csg/csg_shape.cpp +++ b/modules/csg/csg_shape.cpp @@ -1787,7 +1787,7 @@ CSGBrush *CSGPolygon3D::_build_brush() { } } - if (!path || !path->is_inside_tree()) { + if (!path) { return new_brush; }