You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #24858 from volzhs/animation-transition
AnimationNodeTransition name begins from 0
This commit is contained in:
@@ -835,12 +835,11 @@ AnimationNodeTransition::AnimationNodeTransition() {
|
||||
time = "time";
|
||||
current = "current";
|
||||
prev_current = "prev_current";
|
||||
;
|
||||
|
||||
enabled_inputs = 0;
|
||||
for (int i = 0; i < MAX_INPUTS; i++) {
|
||||
inputs[i].auto_advance = false;
|
||||
inputs[i].name = itos(i + 1);
|
||||
inputs[i].name = "state " + itos(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user