diff options
author | Julian Eisel <julian@blender.org> | 2022-06-13 16:38:03 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-06-13 23:06:08 +0300 |
commit | afde12e066e2e38f0df4151e6d1e6e1c61bc6c94 (patch) | |
tree | 9264f3c1e66702e230fc7c0f4da993100c2b50e2 /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | 988fc2493052adfe84e492776370132ff098c358 (diff) |
Outliner performance: Only expand sub-trees if needed
Before this, we would build the sub-trees of some elements, just to
remove them afterwards. In big files, this would sometimes build ten
thousands of elements unnecessarily. Now support not building those
sub-trees in the first place.
Performance tests in a Sprite Fright production file (release build):
- View Layer display mode, reduced Outliner tree rebuilding from ~45ms
to 12-17ms
- Library Overrides display mode, Hierarchies view, reduced tree
rebuilding from 5-6s(!) to 220ms
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
0 files changed, 0 insertions, 0 deletions