Skip to content

Commit

Permalink
Merge pull request #92739 from TokageItLab/fix-blend2d-sync
Browse files Browse the repository at this point in the history
Fix BlendSpace2D sync flagging line
  • Loading branch information
akien-mga committed Jun 4, 2024
2 parents 4bf961e + eacc122 commit 228564c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/animation/animation_blend_space_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 228564c

Please sign in to comment.