From a85d160a3e9df3d93132e924870e45394ebd7808 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 1 Mar 2006 23:45:25 +0000 Subject: 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. --- source/blender/makesdna/DNA_object_force.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_object_force.h') 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 */ -- cgit v1.2.3