Fix `!is_inside_tree` in csg node when reloading a scene

This commit is contained in:
jsjtxietian 2024-08-12 12:58:06 +08:00
parent 739019e4e4
commit a630744b9f
1 changed files with 1 additions and 1 deletions

View File

@ -1926,7 +1926,7 @@ CSGBrush *CSGPolygon3D::_build_brush() {
}
if (mode == MODE_PATH) {
if (!path_local) {
if (!path_local && path->is_inside_tree()) {
base_xform = path->get_global_transform();
}