(cherry picked from commit 07042b40440a3af90539ddc5c7a8fcb0a178074e)
@@ -273,7 +273,7 @@ void CSGShape::mikktSetTSpaceDefault(const SMikkTSpaceContext *pContext, const f
}
void CSGShape::_update_shape() {
- if (parent) {
+ if (parent || !is_inside_tree()) {
return;