Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_lib_remap.h
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | enum { | ||||
| * Do not consider data used by local proxy object as indirect usage. | * Do not consider data used by local proxy object as indirect usage. | ||||
| * This is needed e.g. in reload scenario, | * This is needed e.g. in reload scenario, | ||||
| * since we have to ensure remapping of Armature data of local proxy | * since we have to ensure remapping of Armature data of local proxy | ||||
| * is also performed. Usual nightmare... | * is also performed. Usual nightmare... | ||||
| */ | */ | ||||
| ID_REMAP_NO_INDIRECT_PROXY_DATA_USAGE = 1 << 4, | ID_REMAP_NO_INDIRECT_PROXY_DATA_USAGE = 1 << 4, | ||||
| /** Do not remap library override pointers. */ | /** Do not remap library override pointers. */ | ||||
| ID_REMAP_SKIP_OVERRIDE_LIBRARY = 1 << 5, | ID_REMAP_SKIP_OVERRIDE_LIBRARY = 1 << 5, | ||||
| /** Don't touch the user count (use for low level actions such as swapping pointers). */ | |||||
| ID_REMAP_SKIP_USER_CLEAR = 1 << 6, | |||||
| }; | }; | ||||
| /* Note: Requiring new_id to be non-null, this *may* not be the case ultimately, | /* Note: Requiring new_id to be non-null, this *may* not be the case ultimately, | ||||
| * but makes things simpler for now. */ | * but makes things simpler for now. */ | ||||
| void BKE_libblock_remap_locked(struct Main *bmain, | void BKE_libblock_remap_locked(struct Main *bmain, | ||||
| void *old_idv, | void *old_idv, | ||||
| void *new_idv, | void *new_idv, | ||||
| const short remap_flags) ATTR_NONNULL(1, 2); | const short remap_flags) ATTR_NONNULL(1, 2); | ||||
| Show All 26 Lines | |||||