Blender Git Commit Log

Git Commits -> Revision 75fbf6f

Revision 75fbf6f by Julian Eisel (master)
October 6, 2021, 14:36 (GMT)
Asset Browser: Show catalog add & delete icons on mouse hover (only)

Now the icons to add or delete catalogs are only shown when mouse hovering a
catalog item in the tree. This is convenient for quick creation of catalogs,
and doesn't require activating a catalog to edit it first.

Determining if a tree item is hovered isn't trivial actually. The UI tree-view
code has to find the matching tree-row button in the previous layout to do so,
since the new layout isn't calculated yet.

Commit Details:

Full Hash: 75fbf6f17e69ee9c6487173ae5957cfff5193d1f
Parent Commit: 536109b
Lines Changed: +78, -9

5 Modified Paths:

/source/blender/editors/include/UI_tree_view.hh (+7, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_view.cc (+53, -8) (Diff)
/source/blender/editors/interface/tree_view.cc (+15, -0) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021