From 06d57fdae05bad63438d360204c890d7ab81387a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 22 Oct 2009 09:31:07 +0000 Subject: Shape Keys Internal change to not apply the shape keys to the Mesh vertex coordinates, but rather use it as part of the derivedmesh/displist evaluation. This only has one practical advantage right now, which is that you can now make a linked duplicate and pin it's shape key to a different shape than the first object. Further, this makes shape keys correctly fit into the modifier stack design, which will help implement some other features later. Also it means the mesh vertex coordinates are now really the orco's. --- source/blender/blenkernel/BKE_key.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/blender/blenkernel/BKE_key.h') diff --git a/source/blender/blenkernel/BKE_key.h b/source/blender/blenkernel/BKE_key.h index 1b4cbc1cf2a..59d7f99112e 100644 --- a/source/blender/blenkernel/BKE_key.h +++ b/source/blender/blenkernel/BKE_key.h @@ -56,10 +56,7 @@ void key_curve_position_weights(float t, float *data, int type); void key_curve_tangent_weights(float t, float *data, int type); void key_curve_normal_weights(float t, float *data, int type); -/* only exported to curve.c! */ -void cp_cu_key(struct Curve *cu, struct KeyBlock *kb, int start, int end); - -int do_ob_key(struct Scene *scene, struct Object *ob); +float *do_ob_key(struct Scene *scene, struct Object *ob); struct Key *ob_get_key(struct Object *ob); struct KeyBlock *ob_get_keyblock(struct Object *ob); -- cgit v1.2.3