1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix BlendSpace2D sync flagging line

This commit is contained in:
Silc Lizard (Tokage) Renew
2024-06-04 05:52:39 +09:00
parent 705b7a0b0b
commit eacc122f32

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