Merge pull request #15212 from firefly2442/FloatToBoolean

change float to bool as correct type
This commit is contained in:
Noshyaar 2017-12-31 12:37:26 +07:00 committed by GitHub
commit 548bd4ef1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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