diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-06-16 17:51:18 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-06-16 17:51:18 +0400 |
commit | f6ab6514a38fbb976a283b88e07feee583a5266e (patch) | |
tree | 97e334fc04b2d9e70cc672dd3d5b4203c13205f0 /source | |
parent | 265262a5d5e56005d4636dc28f9fce25f4bbed57 (diff) |
Bugfix [#31843] Inserting of visual keys for Damped Track constraint broken
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index b8601419d51..6250424d655 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -559,7 +559,6 @@ static short visualkey_can_use(PointerRNA *ptr, PropertyRNA *prop) const char *identifier = NULL; /* validate data */ - // TODO: this check is probably not needed, but it won't hurt if (ELEM3(NULL, ptr, ptr->data, prop)) return 0; @@ -635,6 +634,9 @@ static short visualkey_can_use(PointerRNA *ptr, PropertyRNA *prop) case CONSTRAINT_TYPE_TRACKTO: if (searchtype == VISUALKEY_ROT) return 1; break; + case CONSTRAINT_TYPE_DAMPTRACK: + if (searchtype == VISUALKEY_ROT) return 1; + break; case CONSTRAINT_TYPE_ROTLIMIT: if (searchtype == VISUALKEY_ROT) return 1; break; |