diff options
author | Julian Eisel <julian@blender.org> | 2020-06-19 20:21:39 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-19 21:06:37 +0300 |
commit | 254f164b27a416177e3bf47bd81498a2da929e43 (patch) | |
tree | 789ca9f2a3bf1f419df37694dd0c9c8fcc85f31a /source/blender/editors/space_outliner/space_outliner.c | |
parent | 15083d9e1eebe0be0cca427602aa826f113ff997 (diff) |
UI: Minor optimization to Outliner lookup for hovered element
The lookup to find the hovered Outliner tree element would possibly check
children that can be skipped with a simple check.
I experimented with various ways to avoid work in this lookup. This one is
simple and reliable, which others wouldn't have been afaics. Plus, there's not
much performance to be gained here anyway.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
0 files changed, 0 insertions, 0 deletions