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:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-09-28 01:52:20 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-09-28 01:52:20 +0400
commitc723b91446a04a953ed4ec761310c2f5c675268f (patch)
tree84c7358fc73ccac9e5d801641bed5ef152271c22 /source/blender/src/editobject.c
parent5f7359a4ad712e91a012fe7331f2df33b7031375 (diff)
BGE patch: create new BulletSoftBody data block to store bullet soft body specific parameters.
Previously we tried to share the parameters with the blender render soft body but there were too many differences. MSVC project files updated.
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r--source/blender/src/editobject.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 6f926f7396e..370f116d318 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -3529,10 +3529,8 @@ void copy_attr(short event)
base->object->boundtype = ob->boundtype;
}
base->object->margin= ob->margin;
- //base->object->linearStiffness= ob->linearStiffness;
- //base->object->angularStiffness= ob->angularStiffness;
- //base->object->volumePreservation= ob->volumePreservation;
- //base->object->gamesoftFlag= ob->gamesoftFlag;
+ base->object->bsoft= copy_bulletsoftbody(ob->bsoft);
+
}
else if(event==17) { /* tex space */
copy_texture_space(base->object, ob);