Blender Git Commit Log

Git Commits -> Revision ef29bf9

Revision ef29bf9 by Julian Eisel (master)
September 29, 2021, 13:02 (GMT)
Assets: Expose option to reuse data-block data when appending

With 794c2828af60 & f48a4aa0f915 it's possible to reuse possibly
expensive, nested data of a data-block when appending. E.g. the
texture of a material, or the mesh of an object. Without this it's easy
to bloat memory and the file size. Duplicated textures also cause
unnecessary shader recompilations.

The feature was intended to be the new default behavior for the Asset
Browser, but it wasn't actually added to the UI yet. This patch adds a
new import type option to the Asset Browser. So from the menu in the
header, you can now choose between:

* Link
* Append
* Append (Reuse Data)

The latter is the new default.

Maniphest Task: https://developer.blender.org/T91741

Differential Revision: https://developer.blender.org/D12647

Reviewed by: Sybren St�vel, Bastien Montagne

Commit Details:

Full Hash: ef29bf9023f54667db7a0c2898d12a3bce0873ed
Parent Commit: 5cebcb4
Lines Changed: +30, -1

5 Modified Paths:

/source/blender/blenloader/intern/versioning_300.c (+5, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+8, -0) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+10, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021