Blender Git Commit Log

Git Commits -> Revision 254f164

Revision 254f164 by Julian Eisel (master)
June 19, 2020, 18:06 (GMT)
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.

Commit Details:

Full Hash: 254f164b27a416177e3bf47bd81498a2da929e43
Parent Commit: 15083d9
Lines Changed: +18, -6

1 Modified Path:

/source/blender/editors/space_outliner/outliner_utils.c (+18, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021