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:
authorErwin Coumans <blender@erwincoumans.com>2008-09-25 20:48:25 +0400
committerErwin Coumans <blender@erwincoumans.com>2008-09-25 20:48:25 +0400
commitbc28feb997b05d61d2d1e971137be489c780dcbc (patch)
tree3f6db24ce581c3ae3830352c66bb62773720f802 /source/blender/blenloader
parentc9c9b2e8332786128fa078acb598987a3b419b5c (diff)
re-use some Blender soft body settings for Bullet game soft bodies
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index f1823de954c..66905c6f240 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7850,10 +7850,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
if (!(ob->gameflag & OB_ACTOR))
ob->gameflag &= ~(OB_GHOST|OB_DYNAMIC|OB_RIGID_BODY|OB_SOFT_BODY|OB_COLLISION_RESPONSE);
/* suitable default for older files */
- ob->linearStiffness = 1.0f;
- ob->angularStiffness = 1.0f;
- ob->volumePreservation = 1.0f;
- ob->softflag = OB_SOFT_SHAPE_MATCHING;
}
}