== Action Editor Bugfix ==

DeltaX value now displays correctly when grabbing and snap-to-framestep
is on.
This commit is contained in:
Joshua Leung
2007-01-21 05:11:46 +00:00
parent 557360224f
commit 1e4bec7a33

View File

@@ -1215,6 +1215,9 @@ void transform_actionchannel_keys(int mode, int dummy)
/* recalculate the delta based on 'visual' times */
fac = get_action_frame_inv(OBACT, cval[0]);
fac -= get_action_frame_inv(OBACT, sval[0]);
if (autosnap == SACTSNAP_STEP)
fac= 1.0f*floor(fac/1.0f + 0.5f);
}
sprintf(str, "deltaX: %.3f", fac);
headerprint(str);