Merge pull request #95239 from AThousandShips/skeleton_internal_fix

Make `Skeleton3D` bone simulator an internal child
This commit is contained in:
Rémi Verschelde 2024-08-07 12:08:12 +02:00
commit 1e8bfdcd4f
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -300,7 +300,7 @@ void Skeleton3D::setup_simulator() {
simulator = sim; simulator = sim;
sim->is_compat = true; sim->is_compat = true;
sim->set_active(false); // Don't run unneeded process. 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); set_animate_physical_bones(animate_physical_bones);
} }
#endif // _DISABLE_DEPRECATED #endif // _DISABLE_DEPRECATED