diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-21 13:38:58 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-21 13:38:58 +0300 |
commit | a9654c3e6aaf10254974d21ce64c94f882116ed5 (patch) | |
tree | 041b4c3d446d4b6ef70377e7992af8f9e82f56ff /source/blender/editors/space_graph/graph_draw.c | |
parent | 87bdbab54439573b6492d1bf17fd4691e2190272 (diff) |
Graph Editor: Started adding the missing NKEY panel stuff
Only a dummy pannel for now. I'll add some basic examples of relevant buttons + ways to use them soon.
Diffstat (limited to 'source/blender/editors/space_graph/graph_draw.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_draw.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index cfd18af78de..04cf54e67bc 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -703,7 +703,12 @@ void graph_draw_curves (bAnimContext *ac, SpaceIpo *sipo, ARegion *ar) if (nob) ANIM_nla_mapping_apply_fcurve(nob, ale->key_data, 0, 0); - /* draw curve - we currently calculate colour on the fly, but that should probably be done in advance instead */ + /* draw curve - if there's an active modifier (or a stack of modifiers) drawing these takes presidence, + * unless modifiers in use will not alter any of the values within the keyframed area... + */ + + + /* draw curve - as defined by keyframes */ if ( ((fcu->bezt) || (fcu->fpt)) && (fcu->totvert) ) { /* set color/drawing style for curve itself */ if ( ((fcu->grp) && (fcu->grp->flag & AGRP_PROTECTED)) || (fcu->flag & FCURVE_PROTECTED) ) { |