diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-23 14:58:30 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-23 14:58:30 +0300 |
commit | 78b76cc39fdada13c088e4404b72792bdab5414d (patch) | |
tree | da348541f65e01614b4c9ea510128c36ba21c50d /source/blender/editors/animation/keyingsets.c | |
parent | f8d40d2da04e07481acbe8affc7249cb7165c649 (diff) |
Auto-Keyframing and Clear Transform Operators:
Clear Location/Rotation/Scale (Alt-G/R/S) now insert keyframes when Auto-Keyframing is enabled.
Diffstat (limited to 'source/blender/editors/animation/keyingsets.c')
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index bb3182b3d6e..d7406a7bcfd 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -1294,6 +1294,10 @@ int modify_keyframes (Scene *scene, ListBase *dsources, bAction *act, KeyingSet int kflag=0, success= 0; char *groupname= NULL; + /* sanity checks */ + if (ks == NULL) + return 0; + /* get flags to use */ if (mode == MODIFYKEY_MODE_INSERT) { /* use KeyingSet's flags as base */ |