Partial Bugfix [#30097] : Current frame indicator on Motion Paths drawn
incorrectly When the current frame occurs outside the current visible range a given motion path, the point lookup was seeking past the ends of the path's point cache, causing sporadic flickering of current frame indicator at 0,0,0.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user