Small fix in calculating correct cycle offset for cycling ActionStrips.

This float precision is usually headaches :)
This commit is contained in:
2006-10-31 18:24:27 +00:00
parent 92fd043346
commit da8e2749bc

View File

@@ -929,7 +929,7 @@ static float stridechannel_frame(Object *ob, float sizecorr, bActionStrip *strip
static void cyclic_offs_bone(Object *ob, bPose *pose, bActionStrip *strip, float time)
{
if(time > 1.0f) {
if(time >= 1.0f) {
bActionChannel *achan= get_action_channel(strip->act, strip->offs_bone);
if(achan && achan->ipo) {