Skip to content

Commit a630744

Browse files
committed
Fix !is_inside_tree in csg node when reloading a scene
1 parent 739019e commit a630744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/csg/csg_shape.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@ CSGBrush *CSGPolygon3D::_build_brush() {
19261926
}
19271927

19281928
if (mode == MODE_PATH) {
1929-
if (!path_local) {
1929+
if (!path_local && path->is_inside_tree()) {
19301930
base_xform = path->get_global_transform();
19311931
}
19321932

0 commit comments

Comments
 (0)