diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-03-08 06:15:08 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-03-08 06:15:08 +0400 |
commit | bed8efb8e8893427fdb02e23c10bf0c631e7ff86 (patch) | |
tree | 8aff454739fc45562ff5e6a94188d7f4bd9713f4 /source/blender/editors/animation/keyingsets.c | |
parent | 7f7f32d768d0486621a3832487dd569b8245c05a (diff) |
Improving warnings when keyframing fails for IKEY over a button
Now, instead of silently failing, an error message saying that the property
cannot be animated is displayed
Diffstat (limited to 'source/blender/editors/animation/keyingsets.c')
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 4e8d7bdafe5..24b1ade7599 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -879,7 +879,7 @@ short ANIM_validate_keyingset(bContext *C, ListBase *dsources, KeyingSet *ks) if (ksi == NULL) return MODIFYKEY_MISSING_TYPEINFO; /* TODO: check for missing callbacks! */ - + /* check if it can be used in the current context */ if (ksi->poll(ksi, C)) { /* if a list of data sources are provided, run a special iterator over them, |