Make animate_targets run before inherit_weights (#16981)
# Objective ensure that `animate_targets` runs **before** `bevy_render::mesh::inherit_weights` to address the one-frame delay Fixes #16554 ## Solution switch ordering constraints from `after` to `before` ## Testing ran bevy_animation tests and the animated_fox example on MacOS
This commit is contained in:
parent
1675d68366
commit
3eae8590cc
@ -1262,7 +1262,7 @@ impl Plugin for AnimationPlugin {
|
||||
// `PostUpdate`. For now, we just disable ambiguity testing
|
||||
// for this system.
|
||||
animate_targets
|
||||
.after(bevy_render::mesh::inherit_weights)
|
||||
.before(bevy_render::mesh::inherit_weights)
|
||||
.ambiguous_with_all(),
|
||||
trigger_untargeted_animation_events,
|
||||
expire_completed_transitions,
|
||||
|
Loading…
Reference in New Issue
Block a user