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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-03-18 16:21:35 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-03-18 17:53:18 +0300
commit64906260771589ca6192547631b0c961c03af2bc (patch)
treef762368df80492203fd90aeac86e926d740c47e6 /source/blender/makesdna
parent01c5335422a741b6847f082dad14389d3cb62201 (diff)
Depsgraph: Store original modifier pointer
Currently not needed that much, but will ease some further development which is related on preserving runtime modifier data.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 5aec9b95797..2719e324bda 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -113,6 +113,10 @@ typedef struct ModifierData {
char name[64];
char *error;
+
+ /* Pointer to a ModifierData in the original domain. */
+ struct ModifierData *orig_modifier_data;
+ void *_pad2;
} ModifierData;
typedef enum {