diff options
Diffstat (limited to 'source/blender/editors/space_graph/graph_draw.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_draw.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index e8c84b1d74d..6f33a5dd682 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -1211,10 +1211,14 @@ void graph_draw_channel_names(bAnimContext *ac, SpaceIpo *sipo, ARegion *ar) else mute = ICON_MUTE_IPO_OFF; - if (EDITABLE_FCU(fcu)) - protect = ICON_UNLOCKED; + if (fcu->bezt) { + if (EDITABLE_FCU(fcu)) + protect = ICON_UNLOCKED; + else + protect = ICON_LOCKED; + } else - protect = ICON_LOCKED; + protect = ICON_ZOOMOUT; // XXX editability is irrelevant here, but this icon is temp... sel = SEL_FCU(fcu); |