summaryrefslogtreecommitdiffstats
path: root/scene
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-08-07 11:38:16 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-08-07 11:38:16 +0200
commit602a348ab1d66ab018d03d70ffc1934ef98a7ed6 (patch)
tree8a4ec3b4552444c3961f8a962786f95e73e8eae3 /scene
parenteabeafd8c3d3fb346853eb1c590ae54b8aa4cd14 (diff)
downloadredot-engine-602a348ab1d66ab018d03d70ffc1934ef98a7ed6.tar.gz
Make `Skeleton3D` bone simulator an internal child
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/skeleton_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/skeleton_3d.cpp b/scene/3d/skeleton_3d.cpp
index 3d24b3bbe9..5a4e176e99 100644
--- a/scene/3d/skeleton_3d.cpp
+++ b/scene/3d/skeleton_3d.cpp
@@ -300,7 +300,7 @@ void Skeleton3D::setup_simulator() {
simulator = sim;
sim->is_compat = true;
sim->set_active(false); // Don't run unneeded process.
- add_child(simulator);
+ add_child(simulator, false, INTERNAL_MODE_BACK);
set_animate_physical_bones(animate_physical_bones);
}
#endif // _DISABLE_DEPRECATED