Testing for the need to quick cache was causing slowdowns on files with many duplis.
authorJanne Karhu <jhkarh@gmail.com>
Tue, 13 Apr 2010 20:06:55 +0000 (20:06 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Tue, 13 Apr 2010 20:06:55 +0000 (20:06 +0000)
commit953d938ad19bc1dd81267ceb97e418fd84957532
tree261dce022487b300b58910aa4a67ff65a494a3cf
parent18fb3aa5bfc2d5cdf0f5319bf59e3c6a82ea33dd
Testing for the need to quick cache was causing slowdowns on files with many duplis.
* The test is now only done when some object that uses cache has actually changed.
* The added scene->physics_settings->quick_cache_step is only an internal counter, not a user changeable value.
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/scene.c
source/blender/makesdna/DNA_scene_types.h