Blender Git Commits

Blender Git "ui-asset-view-template" branch commits.

Page: 6 / 6

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.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021