Merge pull request #15212 from firefly2442/FloatToBoolean
change float to bool as correct type
This commit is contained in:
commit
548bd4ef1d
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ float AnimationTreePlayer::_process_node(const StringName &p_node, AnimationNode
|
|||
return _process_node(osn->inputs[0].node, r_prev_anim, p_time, p_seek, p_fallback_weight, p_weights);
|
||||
}
|
||||
|
||||
float os_seek = p_seek;
|
||||
bool os_seek = p_seek;
|
||||
|
||||
if (p_seek)
|
||||
osn->time = p_time;
|
||||
|
|
Loading…
Reference in a new issue