diff options
Diffstat (limited to 'source/blender/src/drawipo.c')
-rw-r--r-- | source/blender/src/drawipo.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c index aef167f2c2a..e2acee267c1 100644 --- a/source/blender/src/drawipo.c +++ b/source/blender/src/drawipo.c @@ -2158,10 +2158,8 @@ void drawipospace(ScrArea *sa, void *spacedata) } /* map ipo-points for drawing if scaled ipo */ - if (OBACT && OBACT->action && sipo->pin==0) { - if (sipo->actname || sipo->constname) { - actstrip_map_ipo_keys(OBACT, sipo->ipo, 0, 0); - } + if (OBACT && OBACT->action && sipo->pin==0 && sipo->actname) { + actstrip_map_ipo_keys(OBACT, sipo->ipo, 0, 0); } /* draw deselect */ @@ -2175,10 +2173,8 @@ void drawipospace(ScrArea *sa, void *spacedata) draw_ipovertices(1); /* undo mapping of ipo-points for drawing if scaled ipo */ - if (OBACT && OBACT->action && sipo->pin==0) { - if (sipo->actname || sipo->constname) { - actstrip_map_ipo_keys(OBACT, sipo->ipo, 1, 0); - } + if (OBACT && OBACT->action && sipo->pin==0 && sipo->actname) { + actstrip_map_ipo_keys(OBACT, sipo->ipo, 1, 0); } /* Draw 'curtains' for preview */ |