Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-04 19:00:28 +0400
committerTon Roosendaal <ton@blender.org>2005-10-04 19:00:28 +0400
commit772459f15c054ae88c06da6209871f6749e8040a (patch)
tree71cfbe3ea2d1f563046d3a23765350ed963e1b93 /source/blender/makesdna/DNA_key_types.h
parente5eea31629777dc0ca2fbd797ef1b5d6bf2fa5f0 (diff)
Shape Keys now can be controlled with Vertex Weight groups as well!
Just fill in the name of a Vertex group in the Shape Panel, and this Shape will then become blended with the reference Shape. It is useful for example for a symmetrical modeled head, make a copy of that Shape, and use two Vertex Groups to make it asymetric. Of course the Shapes update nicely while Weight Painting. Also new; since the Vertex group names reside on Object level, you might want to copy these names to the other Objects that have the same Mesh. That's a new button "Copy to Linked" in the first Edit Panel.
Diffstat (limited to 'source/blender/makesdna/DNA_key_types.h')
-rw-r--r--source/blender/makesdna/DNA_key_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h
index a41d93997c1..91a45dba77d 100644
--- a/source/blender/makesdna/DNA_key_types.h
+++ b/source/blender/makesdna/DNA_key_types.h
@@ -48,7 +48,9 @@ typedef struct KeyBlock {
int totelem;
void *data;
+ float *weights;
char name[32];
+ char vgroup[32];
float slidermin;
float slidermax;