Don't update CSG Shape when not inside tree
(cherry picked from commit 07042b4044
)
This commit is contained in:
parent
d6f131904b
commit
acd15e4cd2
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ void CSGShape::mikktSetTSpaceDefault(const SMikkTSpaceContext *pContext, const f
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSGShape::_update_shape() {
|
void CSGShape::_update_shape() {
|
||||||
if (parent) {
|
if (parent || !is_inside_tree()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue