diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-12-18 02:28:24 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-12-18 06:10:20 +0300 |
commit | 7d25139eaf4ab11e69d6adb2f436489eca016b64 (patch) | |
tree | 0da4599a1958193eaf569e952686a2c53b88c0d0 /source/blender/blenkernel/intern/mesh_fair.cc | |
parent | 7cbcfb7f492d027d415326d3b100803e949ce84a (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_fair.cc')
0 files changed, 0 insertions, 0 deletions