Blender Git Loki

Git Commits -> Revision 7d25139

Revision 7d25139 by Nathan Craddock (master)
December 18, 2020, 03:10 (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: 7d25139eaf4ab11e69d6adb2f436489eca016b64
Parent Commit: 7cbcfb7
Lines Changed: +1, -0

1 Modified Path:

/source/blender/editors/space_outliner/outliner_draw.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021