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_curve.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_curve.h') diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 78a2f13a7cc..2d1bec09dbf 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -92,6 +92,9 @@ void switchdirectionNurb( struct Nurb *nu); float (*curve_getVertexCos(struct Curve *cu, struct ListBase *lb, int *numVerts_r))[3]; void curve_applyVertexCos(struct Curve *cu, struct ListBase *lb, float (*vertexCos)[3]); +float (*curve_getKeyVertexCos(struct Curve *cu, struct ListBase *lb, float *key))[3]; +void curve_applyKeyVertexTilts(struct Curve *cu, struct ListBase *lb, float *key); + /* nurb checks if they can be drawn, also clamp order func */ int check_valid_nurb_u( struct Nurb *nu); int check_valid_nurb_v( struct Nurb *nu); -- cgit v1.2.3