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>2009-05-29 02:26:28 +0400
committerErwin Coumans <blender@erwincoumans.com>2009-05-29 02:26:28 +0400
commit17c51c6cb778aa584dee93c9bd70d1a0844d53ac (patch)
treed84db74bb4135c1897490417300b811d8dd56203
parent4026e6341e4499067ace0d1fbb6801907d33974c (diff)
Bullet Physics maxphystep = 1 is better general default to avoid vicious circle
(graphics slower -> physics slower -> overall frametime slower -> graphics slower etc.) See difference in vault.blend
-rw-r--r--source/blender/blenkernel/intern/world.c2
-rw-r--r--source/blender/blenloader/intern/readfile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c
index d47f4efeb4e..41017cb0116 100644
--- a/source/blender/blenkernel/intern/world.c
+++ b/source/blender/blenkernel/intern/world.c
@@ -112,7 +112,7 @@ World *add_world(char *name)
wrld->ticrate = 60;
wrld->maxlogicstep = 5;
wrld->physubstep = 1;
- wrld->maxphystep = 5;
+ wrld->maxphystep = 1;
return wrld;
}
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index a99cb86f86b..8cfe3ea8ace 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -8131,7 +8131,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
wrld->ticrate = 60;
wrld->maxlogicstep = 5;
wrld->physubstep = 1;
- wrld->maxphystep = 5;
+ wrld->maxphystep = 1;
}
}