diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-03-01 07:03:06 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-03-01 07:03:06 +0300 |
commit | 08f9a98bf938b142d577fd6b5f8fad738562e2f6 (patch) | |
tree | 2b5dafa2d7b56bb55cf98b447e0b3d7e76d36d0f /source/blender/src/editaction.c | |
parent | f8f6a049bd4b5773918a37c9738441f45850b71e (diff) |
'Bug'-fix #8404:
Action Editor now displays shapekey channels for curves/surfaces too now. This commit may be reverted if there are some corner cases which work really bad with this.
Diffstat (limited to 'source/blender/src/editaction.c')
-rw-r--r-- | source/blender/src/editaction.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 1044da9d4b1..b9bd1ca01a0 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -554,6 +554,8 @@ Key *get_action_mesh_key(void) key = ((Mesh *)ob->data)->key; else if (ob->type==OB_LATTICE) key = ((Lattice *)ob->data)->key; + else if (ELEM(ob->type, OB_CURVE, OB_SURF)) + key= ((Curve *)ob->data)->key; else return NULL; |