diff options
author | Ton Roosendaal <ton@blender.org> | 2006-03-02 02:45:25 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-03-02 02:45:25 +0300 |
commit | a85d160a3e9df3d93132e924870e45394ebd7808 (patch) | |
tree | d1bd87f32506b131cc13a5c94d382d7b9592927f /source/blender/makesdna/DNA_object_force.h | |
parent | a8afa6dc201c8e5869744ba2cbf51114ec075632 (diff) |
Feature: Sofbody bake "Local"
Sofbody simulation happens in global coordinate space, and this was also
used for baking softbodies. Too bad you cannot re-use or further animate
the baked softbody then... :)
If you now use the new "Local" button in the Bake menu, it will allow to
animate or move the baked object.
Diffstat (limited to 'source/blender/makesdna/DNA_object_force.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_force.h b/source/blender/makesdna/DNA_object_force.h index 03487f478f9..35cb4ecbf8b 100644 --- a/source/blender/makesdna/DNA_object_force.h +++ b/source/blender/makesdna/DNA_object_force.h @@ -92,7 +92,8 @@ typedef struct SoftBody { /* baking */ int sfra, efra; - int interval, pad2; + int interval; + short local, pad2; /* local==1: use local coords for baking */ SBVertex **keys; /* array of size totpointkey */ int totpointkey, totkey; /* if totpointkey != totpoint or totkey!- (efra-sfra)/interval -> free keys */ |