diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-04 10:10:26 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-04 10:10:26 +0200 |
commit | 228564c64bbf801edbca9362f8d7027055cda406 (patch) | |
tree | 199f900a99bc16662f9314b9f7e5d529def4f0ff | |
parent | 4bf961e0070fcc45114c1d1334d9a951d6a2ae41 (diff) | |
parent | eacc122f32868f005d39d222624a2cbec1f34e11 (diff) | |
download | redot-engine-228564c64bbf801edbca9362f8d7027055cda406.tar.gz |
Merge pull request #92739 from TokageItLab/fix-blend2d-sync
Fix BlendSpace2D sync flagging line
-rw-r--r-- | scene/animation/animation_blend_space_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_blend_space_2d.cpp b/scene/animation/animation_blend_space_2d.cpp index 2634248231..9c5787b97c 100644 --- a/scene/animation/animation_blend_space_2d.cpp +++ b/scene/animation/animation_blend_space_2d.cpp @@ -511,9 +511,9 @@ AnimationNode::NodeTimeInfo AnimationNodeBlendSpace2D::_process(const AnimationM first = true; - bool found = false; double max_weight = 0.0; for (int i = 0; i < blend_points_used; i++) { + bool found = false; for (int j = 0; j < 3; j++) { if (i == triangle_points[j]) { //blend with the given weight |