Преглед изворни кода

Fix processed_hashes type to Animation::TypeHash from int

Silc Lizard (Tokage) Renew пре 1 година
родитељ
комит
7c4bc0a378
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      scene/animation/animation_mixer.cpp

+ 1 - 1
scene/animation/animation_mixer.cpp

@@ -1081,7 +1081,7 @@ void AnimationMixer::_blend_calc_total_weight() {
 		Ref<Animation> a = ai.animation_data.animation;
 		Ref<Animation> a = ai.animation_data.animation;
 		real_t weight = ai.playback_info.weight;
 		real_t weight = ai.playback_info.weight;
 		Vector<real_t> track_weights = ai.playback_info.track_weights;
 		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++) {
 		for (int i = 0; i < a->get_track_count(); i++) {
 			if (!a->track_is_enabled(i)) {
 			if (!a->track_is_enabled(i)) {
 				continue;
 				continue;