Revision 796c599 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) February 23, 2021, 17:50 (GMT) |
Add initial asset-view template, with dummy contents (palette colors) Idea is to be able to display a list of assets in a layout, by giving it some custom filtering settings (not done yet). This would be just a uiList managed by Blender, displaying previews similar to the Asset Browser. I decided to use uiLists for this because it already deals with stuff like writing its UI data to .blends (e.g. filtering and sort settings), filtering and scrolling. But I think we'll have to do a number of general improvements to them. Here I just added a new (C-only for now) "flexible grid" list display type, which uses bigger previews and behaves much better than the currend "grid" one. There's a bit of hacking going on here and things will probably change. For now I'm just interested in getting the basics done to see if the direction is good. |
|