summaryrefslogtreecommitdiffstats
path: root/modules/csg/csg_shape.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-17 15:59:02 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-17 15:59:02 +0200
commit2488f3c2ade812a8de530c754eccb9133e5262a4 (patch)
tree714c26fa84a76200cc62e154221cb75f11d0af28 /modules/csg/csg_shape.cpp
parent437041a983a81f9768673dc5374f644634f940f9 (diff)
parentda7e54ec17a77cbb567e88996f2132c92fedef75 (diff)
downloadredot-engine-2488f3c2ade812a8de530c754eccb9133e5262a4.tar.gz
Merge pull request #77118 from etodd/fix-csgpolygon3d-dirty
Fix CSGPolygon3D in path mode disappearing at runtime
Diffstat (limited to 'modules/csg/csg_shape.cpp')
-rw-r--r--modules/csg/csg_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp
index c8fe39dab0..c241f1cabd 100644
--- a/modules/csg/csg_shape.cpp
+++ b/modules/csg/csg_shape.cpp
@@ -1827,7 +1827,7 @@ CSGBrush *CSGPolygon3D::_build_brush() {
}
}
- if (!path || !path->is_inside_tree()) {
+ if (!path) {
return new_brush;
}