fix for [#36260] 2,300 Objects Makes Blender Unresponsive
authorSv. Lockal <lockalsash@gmail.com>
Sat, 3 Aug 2013 11:35:09 +0000 (11:35 +0000)
committerSv. Lockal <lockalsash@gmail.com>
Sat, 3 Aug 2013 11:35:09 +0000 (11:35 +0000)
commit66a40779271b55498216cc14b4df3ca8d575137c
treefdd0ed4df73ca2ecb9f3c58813e8338c53eedadb
parent91d148b8914bb198a78c3789fa39c2850d37d219
fix for [#36260] 2,300 Objects Makes Blender Unresponsive

- performance of outliner was low because of unoptimal data structures.
- now it uses BLI_mempool instead of custom mempool and GHash to make searches for duplicates faster.
- also fix undesired behaviour of BLI_mempool_as_arrayN

thanks to Campbell Barton and Lukas Tönne for helping me get a better fix put together.
13 files changed:
source/blender/blenkernel/intern/object.c
source/blender/blenlib/intern/BLI_mempool.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/space_outliner/outliner_draw.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_outliner/outliner_intern.h
source/blender/editors/space_outliner/outliner_select.c
source/blender/editors/space_outliner/outliner_tools.c
source/blender/editors/space_outliner/outliner_tree.c
source/blender/editors/space_outliner/space_outliner.c
source/blender/makesdna/DNA_outliner_types.h
source/blender/makesdna/DNA_space_types.h