Asset Deduplication with "Append & Reuse" #115660
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#115660
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Asset Deduplication with "Append & Reuse"
This topic was discussed as part of the Geomerty Nodes workshop in November 2023. Although it popped up in the context of nodes, at the core of it are assets.
The introduction of "Append (Reuse Data)" for assets, made production files clutter with duplicated versions of the same assets (e.g., essential node groups). That happens due to linking different files which have appended/reused the same assets. That leads to the following problems:
On the flip side, it made local changes easy.
To address these problems we want Blender to deduplicate identical data-blocks:
The proposal is to change the existing "Append (Reuse Data)" so it brings a data-block into the file in a new way:
Pain points:
Patch: !125389
Asset Deduplication and Append & Re-useto Asset Deduplication with "Append & Reuse"Hi Dalai, thank you for addressing this issue! I can't seem to find much information on this online.
My projects are constantly getting cluttered with essentially duplicate materials and node groups when I copy over models and materials from other blender files.
I would love the ability to reuse materials and node data blocks when appending files. Maybe if an appended material has the same name the user could be asked if they want to reuse the data block. Maybe there is an optional flag that could be on each material and node? I understand that it is too expensive of a calculation to evaluate and compare every material that is imported.
Hi @Jonathan-Edis although this is not the use case we are focusing on here, it may benefit from it.
At first the idea is to tackle data-blocks which are appended using the asset system. This option could/should be exposed for regular append as well though, which would contemplate your case.
Maybe we don't have to try to be too smart about it. Automating will over complicate, and we always risk doing something the user doesn't mean to.
I'd say Blender could just show potential duplicate candidates, and leave the actual merging explicitly up to the user.
The outliner already has a mode for orphaned data, maybe add a new one for duplicates. Show potential candidates for merging.
Maybe show asset datablocks that say share the same base name with a numbering suffix, nodegroups/trees with similar input and output socket names, or keep track of same origin file (there may be privacy concerns with this). Maybe we can show multiple criteria in different categories and gradually improve our way to better detection methods.