diff options
-rw-r--r-- | source/blender/editors/space_view3d/drawanimviz.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawanimviz.c b/source/blender/editors/space_view3d/drawanimviz.c index 922102e3921..e15252056cc 100644 --- a/source/blender/editors/space_view3d/drawanimviz.c +++ b/source/blender/editors/space_view3d/drawanimviz.c @@ -195,7 +195,9 @@ void draw_motion_path_instance(Scene *scene, /* Draw big green dot where the current frame is */ // NOTE: only do this when drawing keyframes for now... - if (avs->path_viewflag & MOTIONPATH_VIEW_KFRAS) { + if ((avs->path_viewflag & MOTIONPATH_VIEW_KFRAS) && + (sfra < CFRA) && (CFRA <= efra)) + { UI_ThemeColor(TH_CFRAME); glPointSize(6.0f); |