mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
Merge pull request #94722 from TokageItLab/total-weight-vector-type
AnimationMixer: Fix `processed_hashes` type to `Animation::TypeHash` instead of `int`
This commit is contained in:
commit
0b26cc1c39
@ -1081,7 +1081,7 @@ void AnimationMixer::_blend_calc_total_weight() {
|
||||
Ref<Animation> a = ai.animation_data.animation;
|
||||
real_t weight = ai.playback_info.weight;
|
||||
Vector<real_t> track_weights = ai.playback_info.track_weights;
|
||||
Vector<int> processed_hashes;
|
||||
Vector<Animation::TypeHash> processed_hashes;
|
||||
for (int i = 0; i < a->get_track_count(); i++) {
|
||||
if (!a->track_is_enabled(i)) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user