Blender Git Loki

Git Commits -> Revision 539575b

Revision 539575b by Julian Eisel (master)
October 6, 2021, 12:25 (GMT)
Assets: Support Renaming Catalogs in the UI

Catalogs can now be renamed by double clicking them in the Asset
Browser. This is mostly done through the tree-view API, the asset
specific code is very little.

There is some polish left to be done here, e.g. the double click
currently also collapses/uncollapses and activates the clicked item. And
the rename button takes the full width of the row. But addressing these
is better done as part of some other behavioral changes that are planned
anyway.

Commit Details:

Full Hash: 539575b585a018eabda9137d724967692433165a
Parent Commit: 335f40e
Lines Changed: +278, -41

5 Modified Paths:

/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/include/UI_tree_view.hh (+41, -3) (Diff)
/source/blender/editors/interface/interface_handlers.c (+21, -1) (Diff)
/source/blender/editors/interface/tree_view.cc (+189, -36) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+25, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021