You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Process skeleton modifiers when the skeleton is marked as dirty
This commit is contained in:
@@ -295,7 +295,7 @@ void Skeleton3D::_notification(int p_what) {
|
||||
#if !defined(DISABLE_DEPRECATED) && !defined(PHYSICS_3D_DISABLED)
|
||||
setup_simulator();
|
||||
#endif // _DISABLE_DEPRECATED && PHYSICS_3D_DISABLED
|
||||
update_flags = UPDATE_FLAG_POSE;
|
||||
update_flags |= UPDATE_FLAG_POSE;
|
||||
_notification(NOTIFICATION_UPDATE_SKELETON);
|
||||
} break;
|
||||
#ifdef TOOLS_ENABLED
|
||||
@@ -929,7 +929,7 @@ void Skeleton3D::_make_dirty() {
|
||||
return;
|
||||
}
|
||||
dirty = true;
|
||||
_update_deferred();
|
||||
_update_deferred(modifiers.is_empty() ? UPDATE_FLAG_POSE : (UpdateFlag)(UPDATE_FLAG_POSE | UPDATE_FLAG_MODIFIER));
|
||||
}
|
||||
|
||||
void Skeleton3D::_update_deferred(UpdateFlag p_update_flag) {
|
||||
|
||||
Reference in New Issue
Block a user