diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-15 18:37:07 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-15 18:43:30 +0300 |
commit | b6981d9e48ef9ccf3ae1b39d11af480a4d76f135 (patch) | |
tree | 2892555e5b89c7868931b8e3e922ac730746d3cd /source/blender/modifiers/intern/MOD_weightvgmix.c | |
parent | eaff606f2dbbf99b09fac57f4034b70c53a398ef (diff) |
Modifiers: New callbacks for reading and writing .blend files
This is part of a greater blenloader decentralization effort (T76372).
For modifiers the goal is that fewer files have to be modified when
a new modifier is added.
This patch just adds the `blendWrite` and `blendRead` callbacks to
`ModifierTypeInfo` but does not change any other code yet. In the next
steps, modifier specific code will be moved from `writefile.c` and
`readfile.c` into their corresponding `MOD_*` files.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvgmix.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvgmix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c index e089720b3e3..d1c618df68b 100644 --- a/source/blender/modifiers/intern/MOD_weightvgmix.c +++ b/source/blender/modifiers/intern/MOD_weightvgmix.c @@ -539,4 +539,6 @@ ModifierTypeInfo modifierType_WeightVGMix = { /* foreachTexLink */ foreachTexLink, /* freeRuntimeData */ NULL, /* panelRegister */ panelRegister, + /* blendWrite */ NULL, + /* blendRead */ NULL, }; |