Blender Git Commit Log

Git Commits -> Revision afc1e39

January 13, 2021, 14:00 (GMT)
Fix T82960: Inaccurate selection on collapsed outliner rows

After rB15083d9e1 the outliner tree is not rebuilt after expanding or
collapsing rows. Because the tree is no longer rebuilt the positions
and flags of the elements are not cleared when collapsing a row. This
caused hover highlights and selections on the collapsed child icons to
be incorrect in many cases.

For example, only the direct children of a collapsed element are drawn
inline. If any grandchild elements had been previously icon row flagged
they would continue to be evaluated as icon row elements despite being
hidden. In this case the x coordinates of the child and grandchild would
overlap causing selection to appear erratic.

Now the flags for inline row icons are explicitly cleared, which was
previously only done because the tree was rebuilt on collapsing rows.

Commit Details:

Full Hash: afc1e3913a0d35628c76fe2229ff09585f4dc644
Parent Commit: 37d450b
Committed By: Jeroen Bakker
Lines Changed: +1, -0

1 Modified Path:

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