Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_ID.h
| Show First 20 Lines • Show All 521 Lines • ▼ Show 20 Lines | enum { | ||||
| LIB_TAG_NO_USER_REFCOUNT = 1 << 16, /* Datablock does not refcount usages of other IDs. */ | LIB_TAG_NO_USER_REFCOUNT = 1 << 16, /* Datablock does not refcount usages of other IDs. */ | ||||
| /* Datablock was not allocated by standard system (BKE_libblock_alloc), do not free its memory | /* Datablock was not allocated by standard system (BKE_libblock_alloc), do not free its memory | ||||
| * (usual type-specific freeing is called though). */ | * (usual type-specific freeing is called though). */ | ||||
| LIB_TAG_NOT_ALLOCATED = 1 << 18, | LIB_TAG_NOT_ALLOCATED = 1 << 18, | ||||
| }; | }; | ||||
| /* Tag given ID for an update in all the dependency graphs. */ | /* Tag given ID for an update in all the dependency graphs. */ | ||||
| typedef enum IDRecalcFlag { | typedef enum IDRecalcFlag { | ||||
| /* Individual update tags, this is what ID gets tagged for update with. */ | /*************************************************************************** | ||||
| * Individual update tags, this is what ID gets tagged for update with. */ | |||||
| /* ** Object transformation changed. ** */ | /* ** Object transformation changed. ** */ | ||||
| ID_RECALC_TRANSFORM = (1 << 0), | ID_RECALC_TRANSFORM = (1 << 0), | ||||
| /* ** Object geometry changed. ** | /* ** Object geometry changed. ** | ||||
| * | * | ||||
| * When object of armature type gets tagged with this flag, it's pose is | * When object of armature type gets tagged with this flag, it's pose is | ||||
| * re-evaluated. | * re-evaluated. | ||||
| ▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | typedef enum IDRecalcFlag { | ||||
| ID_RECALC_EDITORS = (1 << 12), | ID_RECALC_EDITORS = (1 << 12), | ||||
| /* ** Update copy on write component. ** | /* ** Update copy on write component. ** | ||||
| * This is most generic tag which should only be used when nothing else | * This is most generic tag which should only be used when nothing else | ||||
| * matches. | * matches. | ||||
| */ | */ | ||||
| ID_RECALC_COPY_ON_WRITE = (1 << 13), | ID_RECALC_COPY_ON_WRITE = (1 << 13), | ||||
| /* Aggregate flags, use only for checks on runtime. | /*************************************************************************** | ||||
| * Pseudonyms, to have more semantic meaning in the actual code without | |||||
| * using too much low-level and implementation specific tags. */ | |||||
| /* Update animation datablock itself, without doing full re-evaluation of | |||||
| * all dependent objects. */ | |||||
| ID_RECALC_ANIMATION_NO_FLUSH = ID_RECALC_COPY_ON_WRITE, | |||||
| /*************************************************************************** | |||||
| * Aggregate flags, use only for checks on runtime. | |||||
| * Do NOT use those for tagging. */ | * Do NOT use those for tagging. */ | ||||
| /* Identifies that SOMETHING has been changed in this ID. */ | /* Identifies that SOMETHING has been changed in this ID. */ | ||||
| ID_RECALC_ALL = ~(0), | ID_RECALC_ALL = ~(0), | ||||
| /* Identifies that something in particle system did change. */ | /* Identifies that something in particle system did change. */ | ||||
| ID_RECALC_PSYS_ALL = (ID_RECALC_PSYS_REDO | | ID_RECALC_PSYS_ALL = (ID_RECALC_PSYS_REDO | | ||||
| ID_RECALC_PSYS_RESET | | ID_RECALC_PSYS_RESET | | ||||
| ID_RECALC_PSYS_CHILD | | ID_RECALC_PSYS_CHILD | | ||||
| ▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines | |||||