diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-09 14:05:34 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-09 14:05:34 +0300 |
commit | c58d336a33b4105530af326dccef077ba0274fa6 (patch) | |
tree | 0c3cccdd29849878a5722d3253d039fc8a59c35b /source/blender/blenkernel | |
parent | 2b818935fe708f5f386375d484faa35b9163b4c7 (diff) |
Keyframe-related bugfixes:
* Deleting keyframes should be safer now
* Graph Editor no longer crashes on F-Curves with no keyframes/samples
* Silenced console prints that occurred when an F-Curve had now keyframes.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 4e66d5f0ab8..9ed469c9028 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -313,10 +313,14 @@ void action_groups_add_channel (bAction *act, bActionGroup *agrp, FCurve *fcurve } /* only if added, set channel as belonging to this group */ - if (done) + if (done) { + //printf("FCurve added to group \n"); fcurve->grp= agrp; - else + } + else { printf("Error: FCurve '%s' couldn't be added to Group '%s' \n", fcurve->rna_path, agrp->name); + BLI_addtail(&act->curves, fcurve); + } } /* Remove the given channel from all groups */ |