-fix function calls in animationtree, closes #2789
This commit is contained in:
parent
fb01d18251
commit
f65eb470ae
1 changed files with 1 additions and 1 deletions
|
@ -837,7 +837,7 @@ void AnimationTreePlayer::_process_animation(float p_delta) {
|
||||||
|
|
||||||
StringName method = a->method_track_get_name(tr.local_track,E->get());
|
StringName method = a->method_track_get_name(tr.local_track,E->get());
|
||||||
Vector<Variant> args=a->method_track_get_params(tr.local_track,E->get());
|
Vector<Variant> args=a->method_track_get_params(tr.local_track,E->get());
|
||||||
ERR_CONTINUE(args.size()!=VARIANT_ARG_MAX);
|
args.resize(VARIANT_ARG_MAX);
|
||||||
tr.track->node->call(method,args[0],args[1],args[2],args[3],args[4]);
|
tr.track->node->call(method,args[0],args[1],args[2],args[3],args[4]);
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in a new issue