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.
This commit is contained in:
Joshua Leung
2008-03-01 04:03:06 +00:00
parent f8f6a049bd
commit 08f9a98bf9

View File

@@ -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;