summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-10 08:34:26 +0100
committerGitHub <noreply@github.com>2022-03-10 08:34:26 +0100
commit277b0dddee2f0f9ae6e7eb698a06f4d9f71c28e1 (patch)
treedb7c12db6b232731a22c29a85a265d35558a293c
parente19da630091a1837d9ed8ce6602befe6fe8dd46d (diff)
parent9c312c486c14d234062f6407708a4298bebe91af (diff)
Merge pull request #58958 from hoontee/master
Revert #52647 (Don't update CSG Shape when not inside tree)
-rw-r--r--modules/csg/csg_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp
index 6c14b694a4..fec2d3137c 100644
--- a/modules/csg/csg_shape.cpp
+++ b/modules/csg/csg_shape.cpp
@@ -280,7 +280,7 @@ void CSGShape3D::mikktSetTSpaceDefault(const SMikkTSpaceContext *pContext, const
}
void CSGShape3D::_update_shape() {
- if (!is_root_shape() || !is_inside_tree()) {
+ if (!is_root_shape()) {
return;
}