diff options
author | Julian Eisel <julian@blender.org> | 2020-06-16 12:31:58 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-16 12:31:58 +0300 |
commit | 87df15190210eb84ef52e5dccc2932918f912da5 (patch) | |
tree | 94c4d71ed7c20b2fd7ebac4ce50a736ed165b1d0 /source/blender/makesdna | |
parent | d73920831de0a87faa0c91261dc2ff8d07913318 (diff) | |
parent | cfde6ebf450594faa57c4bfeaecff10fe512c91b (diff) |
Merge branch 'asset-uuid' into asset-engine
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 8eb6fd07831..2c9888ec06e 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -787,6 +787,15 @@ typedef enum IDRecalcFlag { * input file or for color space changes. */ ID_RECALC_SOURCE = (1 << 23), + /* Virtual recalc tag/marker required for undo in some cases, where actual data does not change + * and hence do not require an update, but conceptually we are dealing with something new. + * + * Current known case: linked IDs made local without requiring any copy. While their users do not + * require any update, they have actually been 'virtually' remapped from the linked ID to the + * local one. + */ + ID_RECALC_TAG_FOR_UNDO = (1 << 24), + /*************************************************************************** * Pseudonyms, to have more semantic meaning in the actual code without * using too much low-level and implementation specific tags. */ |