diff options
author | Julian Eisel <julian@blender.org> | 2021-10-20 14:09:40 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-20 14:38:51 +0300 |
commit | d28aaf6139c8cfa8555542f4f228f390485dd7ed (patch) | |
tree | 585081295a0f0385981cd5684b49920cf854c063 /extern | |
parent | 4f15c247052b6db49b5226b6c473bdb7b2be6293 (diff) |
Asset Browser: Show current file assets in other asset libraries if contained
If the current file is saved within an asset library, showing that asset
library in the Asset Browser will also display the assets from this current
file now. In fact, it's the latest state of the open file, including all
unsaved modifications.
These assets will show a little Blender icon in the preview image, which is our
usual icon for current file data.
Note that this means an important design change: The "Current File" asset
library isn't the only place to edit assets from anymore. From now on assets
from the current file can also be edited in the context of the full asset
library. See T90193 for more info.
Technical info:
Besides just including the assets from the current `Main`, this requires
partial clearing and reading of file-lists, so that asset operations (e.g.
removing an asset data-block) doesn't require a full reload of the asset
library.
Maniphest Task: https://developer.blender.org/T90193
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions