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:
authorSergej Reich <sergej.reich@googlemail.com>2013-03-03 10:09:45 +0400
committerSergej Reich <sergej.reich@googlemail.com>2013-03-03 10:09:45 +0400
commit5ff6a5c6abe36b1521d310b0f7e0f6dfd3afa1f3 (patch)
treee92f2e41d0d7f694cca0150f794490ac4b24e72c /source/blender/makesdna
parentb390192b7024d26f421bdc93e63e8603dab18cf2 (diff)
rigidbody: Fix inconsistency with world rebuilding
The rigid body world could be rebuilt on start frame and one frame after start frame. The latter was necessary sice animation playback usually doesn't start at start frame. This lead to different simulations depending on which frame the simulaton was rebuilt when animation was involved. Now we only rebuild the world on start frame. This is actually tricky to do since, as mentioned above, animation playback starts on second frame. To work around this we rebuild the world before the actual update. The alternative would be to rebuld the world on every simulation change (like the other simulations do it) but this is an expensive operation and would be too slow.
Diffstat (limited to 'source/blender/makesdna')
0 files changed, 0 insertions, 0 deletions