Merge pull request #92739 from TokageItLab/fix-blend2d-sync

Fix BlendSpace2D sync flagging line
This commit is contained in:
Rémi Verschelde 2024-06-04 10:10:26 +02:00
commit 228564c64b
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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