Blender Git Commit Log

Git Commits -> Revision 5129e2e

Revision 5129e2e by Julian Eisel (master)
October 15, 2020, 18:31 (GMT)
Fix T81675: Renaming collapsed collection in Outliner renames nested items

* `do_outliner_item_rename()` enables the rename mode for the item under the
cursor. Issue is, collapsed children end up having stored the same coordinate
as their parent, so they too would get the rename mode enabled (there is no
early-exit that would hide this).
* The items displayed as inline icons do get the proper coordinates of the
icons, so they are not mistaken as being under the cursor.

After rBb077de086e14, the Outliner tree is rebuilt less often, so the
coordinates are cleared less often too.

As far as I can see we can always clear coordinates of invisible items now. No
code seems to depend on keeping the old coordinates anymore.

Commit Details:

Full Hash: 5129e2e042a057a28ea75e4342a664277c74ca34
Parent Commit: 5efb104
Lines Changed: +3, -3

1 Modified Path:

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