diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-09-07 16:03:09 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-09-07 16:03:09 +0400 |
commit | e53bbc7ab7568e315dc3cf06dd5e989300c98786 (patch) | |
tree | f093b5bf9ba5998ec458f63d471a860d003cc08e /source/blender/editors/animation/anim_ipo_utils.c | |
parent | 51aa26db62cbe204f5e50eaf60e53b738325b3ef (diff) |
Graph Editor tweaks:
Buttons for editing RNA paths/array index for F-Curves that aren't working are now actually functional. This means that when invalid paths are present, they can be manually fixed up.
Diffstat (limited to 'source/blender/editors/animation/anim_ipo_utils.c')
-rw-r--r-- | source/blender/editors/animation/anim_ipo_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_ipo_utils.c b/source/blender/editors/animation/anim_ipo_utils.c index b71e9ac3507..4bc2654e581 100644 --- a/source/blender/editors/animation/anim_ipo_utils.c +++ b/source/blender/editors/animation/anim_ipo_utils.c @@ -157,6 +157,9 @@ int getname_anim_fcurve(char *name, ID *id, FCurve *fcu) /* icon for this should be the icon for the base ID */ // TODO: or should we just use the error icon? icon= RNA_struct_ui_icon(id_ptr.type); + + /* tag F-Curve as disabled - as not usable path */ + fcu->flag |= FCURVE_DISABLED; } } |