diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-11-16 08:12:35 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-11-16 08:12:35 +0300 |
commit | 65d771dcafea2baa8a41389ecf15b069dfe3f392 (patch) | |
tree | d581aab374a5523815f6c7be86dd4870c8733e03 /source | |
parent | c6ab67bffc84838bfc2b155ebd810dab8b860888 (diff) |
Bugfix T42253: End frame for armature ghosting "in range" is not displayed
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index 651c9389341..f25e4f143e6 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -2396,7 +2396,7 @@ static void draw_ghost_poses_range(Scene *scene, View3D *v3d, ARegion *ar, Base if (v3d->zbuf) glDisable(GL_DEPTH_TEST); /* draw from first frame of range to last */ - for (CFRA = (int)start; CFRA < end; CFRA += (int)stepsize) { + for (CFRA = (int)start; CFRA <= end; CFRA += (int)stepsize) { colfac = (end - (float)CFRA) / range; UI_ThemeColorShadeAlpha(TH_WIRE, 0, -128 - (int)(120.0f * sqrtf(colfac))); |