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_meshsequencecache.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_meshsequencecache.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_meshsequencecache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshsequencecache.c b/source/blender/modifiers/intern/MOD_meshsequencecache.c index 801badc382c..b4269513f8e 100644 --- a/source/blender/modifiers/intern/MOD_meshsequencecache.c +++ b/source/blender/modifiers/intern/MOD_meshsequencecache.c @@ -259,4 +259,6 @@ ModifierTypeInfo modifierType_MeshSequenceCache = { /* foreachTexLink */ NULL, /* freeRuntimeData */ NULL, /* panelRegister */ panelRegister, + /* blendWrite */ NULL, + /* blendRead */ NULL, }; |