Blender Git Loki
Git Commits -> Revision 11e8a2e
Revision 11e8a2e by Julian Eisel (master) October 26, 2021, 16:55 (GMT) |
UI: Support disabled-hint for dropping in the tree-view API A tree-view item's drop controller can now return a message for the user explaining why dropping isn't possible with the dropped data. This is then displayed in red text next to the cursor. This isn't actually used yet, the follow up commit will do that. |
Commit Details:
Full Hash: 11e8a2ec5fc95524a59a7422d2715ef1116dbef4
Parent Commit: 03c0581
Lines Changed: +34, -14
5 Modified Paths:
/source/blender/editors/include/UI_interface.h (+3, -1) (Diff)
/source/blender/editors/include/UI_tree_view.hh (+6, -1) (Diff)
/source/blender/editors/interface/interface_dropboxes.cc (+8, -1) (Diff)
/source/blender/editors/interface/tree_view.cc (+6, -3) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+11, -8) (Diff)
/source/blender/editors/include/UI_tree_view.hh (+6, -1) (Diff)
/source/blender/editors/interface/interface_dropboxes.cc (+8, -1) (Diff)
/source/blender/editors/interface/tree_view.cc (+6, -3) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+11, -8) (Diff)