Skip to content

Commit 0b26cc1

Browse files
committed
Merge pull request godotengine#94722 from TokageItLab/total-weight-vector-type
AnimationMixer: Fix `processed_hashes` type to `Animation::TypeHash` instead of `int`
2 parents f0e20ef + 7c4bc0a commit 0b26cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/animation/animation_mixer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ void AnimationMixer::_blend_calc_total_weight() {
10811081
Ref<Animation> a = ai.animation_data.animation;
10821082
real_t weight = ai.playback_info.weight;
10831083
Vector<real_t> track_weights = ai.playback_info.track_weights;
1084-
Vector<int> processed_hashes;
1084+
Vector<Animation::TypeHash> processed_hashes;
10851085
for (int i = 0; i < a->get_track_count(); i++) {
10861086
if (!a->track_is_enabled(i)) {
10871087
continue;

0 commit comments

Comments
 (0)