mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #95414 from jsjtxietian/inside-tree
Fix `!is_inside_tree` in csg node when reloading a scene
This commit is contained in:
commit
33c257c081
1 changed files with 1 additions and 1 deletions
|
@ -2273,7 +2273,7 @@ CSGBrush *CSGPolygon3D::_build_brush() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode == MODE_PATH) {
|
if (mode == MODE_PATH) {
|
||||||
if (!path_local) {
|
if (!path_local && path->is_inside_tree()) {
|
||||||
base_xform = path->get_global_transform();
|
base_xform = path->get_global_transform();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue