Redefiniciones de biblioteca#
La Redefinición de bibliotecas es un sistema diseñado para permitir la edición de datos vinculados externamente, manteniendo la sincronización con los datos originales de la biblioteca externa. La mayor parte de los tipos de bloques de datos podrán ser redefinidos, y las propiedades de esas redefiniciones podrán ser editadas. Cuando los datos cambien en la biblioteca externa, las propiedades no modificadas de la biblioteca redefinida se mantendrán actualizadas con dichos cambios.
Nota
El antiguo sistema de reemplazos quedó marcado como obsoleto en Blender 3.0, y fue completamente eliminado a partir de Blender 3.2. La conversión automática de reemplazos en redefiniciones de biblioteca es procesada al cargar un archivo .blend, aún así el resultado en modelos complejos no está garantizado y es posible que sean necesarias correcciones manuales.
Las redefiniciones de bibliotecas soportan:
Multiple independent overrides of a same linked data (e.g. having the same character multiple times in the same scene).
Adding new modifiers and constraints, anywhere in the stack.
Recursively chaining overrides (i.e. link and override overrides from another library file, etc.).
Nota
There are known issues that have to be addressed. See the main task of the project, for more details.
Advertencia
While in most cases library overrides data is preserved across a loss of reference linked data (if e.g. the library file becomes unavailable or is relocated), there are some exceptions.
The main one is probably posed (but not animated) armature objects, when their Armature obdata itself is not overridden. The Pose bones of an armature object are fully linked to the bones of its Armature obdata, if the later goes missing, the pose bones are definitively lost.
Nota
Proper Collections Layout Matters
For library overrides to work well, it is much better if all the collections needed by the character are children of the root (linked and instantiated) one, such that there is a clear hierarchy. Otherwise, some data may not be properly automatically overridden, and other operations may be less reliable.
Redefinir jerarquías#
Hierarchy is a very important concept to understand when working with library overrides. In Blender, a real-life asset (a character, a prop, a set, etc.) is almost never made of a single data-block, but is rather a group of data-blocks with dependency relationships to each-other. E.g. a character will typically have an armature object, several geometry objects, rig-controllers objects, the object data for all of these objects, materials, textures, etc.
These relationships can be represented as a tree, with a root data-block “linking-in” all its dependencies, recursively. With library overrides, typically, the root of the hierarchy is also the data-block that is directly linked when importing the asset (usually a collection).
This concept of hierarchy can also be seen as some sort of super meta-data-block. It is critical when there are several overrides of the same linked data, since it allows to clearly identify a given data-block to one override, leaving no ambiguity to processes that affect the whole hierarchy (e.g. resyncing overrides with their linked data). It also allows to share relationships between data-blocks of different hierarchies, like a parenting relationships between two different overrides of a same character.
Resincronización de redefiniciones#
The relationships between linked data-blocks can change, resulting in outdated overrides. When this happens, overrides need to be resynced to match the new structure of their hierarchy. Overrides are automatically resynced if needed on blend-files opening. However, it may be needed to resynced them manually sometimes, see Troubleshoot an Override Hierarchy.
Truco
Blender is also able to resync library overrides from external libraries, that are then linked into a working file. However, this is a costly process that needs to be fully redone every time the working file is loaded, since Blender cannot edit/modify the external library directly.
So users linking overrides (or creating recursive overrides) should ensure that their library files are regularly updated, to avoid this overhead on file load (typically, opening and saving those library files should be enough to update them).
Truco
Auto resyncing can be disabled in the Experimental Preferences.
Redefiniciones no editables#
For technical reasons (how relationships between data-blocks are stored), Blender needs to create overrides of a lot of data-blocks, even when only one or two of them actually needs to be edited by the user. To reduce the amount of information and risk of potential unwanted editing, most of these data-blocks are now marked as non-editable by default. This can be changed once the override has been created.
Crear una redefinición#
Referencia
- Editor:
Vista 3D, Listado, Propiedades
- Modo:
Modo Objeto
- Menú:
- Atajo:
Shift-LMB on the “linked”/”overridden” button of an ID Widget.
Create overrides from the selected data-blocks.
Blender automatically create overrides for all required data-blocks to ensure that valid override hierarchies are created.
Only overrides created from selected items will be user-editable.
Advertencia
The support for the creation of library overrides from the ID Widget (mainly from within the Properties editor) is limited. While the most common usages should be supported, especially with Objects, meshes, etc., much remains to be implemented.
Elementos seleccionados#
Depending on where from the override is created, there are several ways to “select” items to be overridden and user-editable.
Nota
This also applies to the other common operations (Reset and Clear).
The Troubleshoot advanced operations only available from the Outliner always apply to a whole override hierarchy.
Vista 3D#
The selected objects will be considered as selected.
When a selected object is a local Empty instantiating a linked collection, the following will happen: * The Empty object will be removed. * Its linked collection will be overridden, and that override will be instanced in the same collection in the current View Layer. * If the collection contains Armature objects, they will be user-editable. Otherwise, no created override will be defined as user-editable.
Listado#
The operation can be applied on either the selected items only, their content only, or both.
Truco
Using Selected & Content is an easy way to get all newly created overrides immediately user-editable.
Control de ID#
Only the linked data-block in the ID Widget is considered as selected, and set as editable once overridden.
Hacer editable#
That same operation can also be used to make existing overrides user-editable, after they have been created, or cleared
Restablecimiento de una redefinición#
Referencia
- Editor:
Vista 3D, Listado, Propiedades
- Modo:
Modo Objeto
- Menú:
Reset the selected overrides to their original values (from the linked reference data). Unlike with the Clear operation, the overrides remain fully editable, and are never deleted.
Eliminación de una redefinición#
Referencia
- Editor:
Vista 3D, Listado, Propiedades
- Modo:
Modo Objeto
- Menú:
- Atajo:
Shift-LMB on the “overridden” button of an ID Widget.
Reset the selected overrides to their original values, and if possible without breaking the existing hierarchy, delete them and replace them by their linked reference data. Otherwise, keep the overrides but mark them as non-editable.
Edición de una redefinición#
Essentially, an override is edited the same way as a regular local data-block. You can use operators on them, edit their properties from various editors, etc. There are some limitations however, most notably Edit Mode is not allowed for overrides. In most cases, as soon as you edit a property, you can see that it’s overridden by its teal blue outline/background.
You can also animate overrides, animated properties just replace/supersede overrides then. Note that you cannot override/edit an existing animation, you’ll have to create a new action. You can manually define or remove an override from the context menu of the relevant property. If an override is not editable, you have to make it editable first.
Creación de redefiniciones#
Referencia
- Editor:
Any
- Modo:
Modo Objeto
- Propiedad:
Permite marcar una propiedad para ser anulada en el archivo .blend local. Para las propiedades de tipo vector, todos sus elementos serán anulados.
Define Single Override#
Referencia
- Editor:
Any
- Modo:
Modo Objeto
- Propiedad:
Permite marcar una propiedad para ser anulada en el archivo .blend local. Para las propiedades de tipo vector, sólo los elementos seleccionados serán anulados.
Remove Overrides#
Referencia
- Editor:
Any
- Modo:
Modo Objeto
- Propiedad:
Remove the property from the overrides. The value of the linked in data-block will be used. For array properties all elements will be removed from the override.
Remove Single Override#
Referencia
- Editor:
Any
- Modo:
Modo Objeto
- Propiedad:
Remove the property from the overrides. The value of the linked in data-block will be used. For array properties only the selected elements will be removed from the override.
Reparar jerarquía de redefiniciones#
Referencia
- Editor:
Listado
- Modo:
Modo Objeto
- Listado:
These operations are only available from the Outliner contextual menu. They can help fixing a broken override hierarchy.
Resincronizar#
Referencia
- Editor:
Listado
- Modo:
Modo Objeto
- Listado:
The hierarchy of the linked data (the relationships between linked data-blocks) can change. Overrides need to be resynced to match the new hierarchy. This operator will resync the override to match the new hierarchy in the library.
Advertencia
While resyncing a library override it is possible that edited overrides get deleted if they are changed in the original library. If this is the case, a warning message will be displayed stating how many overrides were deleted, if the deletion is undesirable the resync can be undone before saving the blend-file.
Nota
This Process is Automatic
Usually, this operation happens automatically when blender detects it is needed, on file load, unless it is disabled in the Experimental Preferences.
Resync Enforce#
Referencia
- Editor:
Listado
- Modo:
Modo Objeto
- Listado:
In some cases, especially with older blend-files that were saved with “broken” (non-hierarchy-matching) overrides, a regular resync itself cannot rebuild properly the override as expected (e.g. some objects might go missing). To solve this issue, this operator rebuilds the local override from its linked reference, as well as its hierarchy of dependencies, enforcing that hierarchy to match the linked data (i.e. ignoring existing overrides on data-blocks properties). This is similar to a regular resync, but is more forceful, aggressive, at the cost of a potential loss of some overrides on ID pointers properties.
Borrar#
Referencia
- Editor:
Listado
- Modo:
Modo Objeto
- Listado:
Remove the whole library override hierarchy, and replace all of these override data-blocks by their original linked data-blocks. This fully reverts the Make operation.