Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-08-04 16:49:37 +0300
committerJulian Eisel <julian@blender.org>2022-08-04 16:57:08 +0300
commit79955e5f85c2b05ae7f191af987b2ff743e764fc (patch)
tree2daedc785c350ad5198b5176ef1ac8bae679613d /source/blender/makesdna
parent8e3eea372d4a6973dc700fafb3feed2cda511b25 (diff)
Docs: Note storage behavior of override operations in comment
It's not obvious that override property operations are recreated on undo pushes, which caused me some confusion. Comment on this, so it's clear that pointers to the operations shouldn't be stored.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 7cecead8230..b3a07f7ff37 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -256,6 +256,7 @@ typedef struct IDOverrideLibraryProperty {
/**
* List of overriding operations (IDOverrideLibraryPropertyOperation) applied to this property.
+ * Recreated as part of the diffing, so do not store any of these elsewhere.
*/
ListBase operations;