Library Overrides (Remplacement de Librairie)¶
Library Overrides is a system designed to replace and supersede Proxies. Most types of linked data-blocks can be overridden, and the properties of those overrides can then be edited. When the library data changes, unmodified properties of the overridden one will be updated accordingly.
Note
The current proxy system will be kept alongside for a few releases. Automatic conversion from proxies to library overrides is not planned, there will be a manual operator to do that, but results on complex characters are not guaranteed.
Library overrides supports:
Multiple independent overrides of a same linked data (e.g. having the same character multiple times in the same scene).
Ajout de nouveaux modificateurs et contraintes, n’importe où dans la pile.
Chaînage récursif des remplacements (c’est-à-dire remplacements de lien et de remplacement à partir d’un autre fichier de bibliothèque, etc.).
Note
There are known issues that have to be addressed. See Phabricator main task of the project, for more details.
Créer un Remplacement¶
Référence
- Mode
Mode Objet
- Menu
- Outliner
Il existe deux façons de créer un remplacement d’un bloc de données lié.
Remplacement d’un Bloc de Données unique¶
Vous pouvez remplacer un seul bloc de données à deux endroits :
L”Outliner (il se trouve dans le menu contextuel des IDs), auquel cas toutes les utilisations locales de cet ID lié seront remappées vers le nouveau remplacement local.
Le menu du bloc de données dans l’interface utilisateur (Maj-LMB sur l’icône de chaîne à droite), auquel cas seule cette utilisation spécifique sera remappée au nouveau remplacement local.
Make Library Override Operator/Make Library Override Hierarchy¶
This operator goes over linked objects or local empties instantiating a linked collection (typically, a linked character).
The operator will go through the whole hierarchy of collections and objects, and override all those needed to allow posing/animation of a character.
Note
La mise en page appropriée des Collections est importante
Pour que cet opérateur fonctionne correctement, il est crucial que toutes les collections nécessaires au personnage soient des enfants de la racine (liée et instanciée). Sinon, certains ne seront pas automatiquement remplacés et un travail manuel sera nécessaire pour corriger le remplacement.
Conversion des Proxies en Remplacement de Librairie¶
Référence
- Mode
Mode Objet
- Menu
Converts a Proxy to a local override. This operator is used to help convert older blend-files to the new override system.
Modifier un Remplacement¶
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.
Define Overrides¶
Référence
- Mode
Mode Objet
- Property
Mark a property to be overridden in the local blend-file. For array properties all elements will be overridden.
Define Single Override¶
Référence
- Mode
Mode Objet
- Property
Mark a property to be overridden in the local blend-file. For array properties only the selected element will be overridden.
Remove Overrides¶
Référence
- Mode
Mode Objet
- Property
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¶
Référence
- Mode
Mode Objet
- Property
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.
Reset Library Override¶
Référence
- Mode
Mode Objet
- Outliner
Reset the override to its original values. Reset Library Override Hierarchy will also reset the overrides of its child data-blocks.
Resync Library Override Hierarchy¶
Référence
- Mode
Mode Objet
- Outliner
The structure of the linked data (the relationships between linked data-blocks) can be changed. Overrides need to be resynced to match the new structure. This operator will resync the override to the new structure in the library.
Delete Library Override Hierarchy¶
Référence
- Mode
Mode Objet
- Outliner
Remove the library override from the selected data-block and all its children and replace them with the original linked data-block. This will revert the Make Library Override.