Blender Git Commit Log

Git Commits -> Revision b077de0

Revision b077de0 by Julian Eisel (master)
August 20, 2020, 18:22 (GMT)
Outliner: Avoid rebuilding tree on selection/active changes

We can avoid the rather expensive outliner tree rebuilds and only redraw
if nothing but the selection or active item changes. This should give a
bit of speedup for heavy scenes.

For this to work I had to correct a few notifiers, some were only
sending selection/active change notifiers that actually did things like
adding objects. I also added a more precise notifier type for when the
active collection changes. At the notifier subtype/action level we're
not even close to running out of bits, so this should be fine.
Also had to correct a wrong notifier check (was using `&` rather than
`==`).

Commit Details:

Full Hash: b077de086e14291fe5f7cdf6d3564a8f1cfb9cb3
Parent Commit: 2e6d5e6
Lines Changed: +59, -30

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021