Make Skeleton3D bone simulator an internal child

This commit is contained in:
A Thousand Ships 2024-08-07 11:38:16 +02:00
parent eabeafd8c3
commit 602a348ab1
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7

View file

@ -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