From b6981d9e48ef9ccf3ae1b39d11af480a4d76f135 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 15 Jun 2020 17:37:07 +0200 Subject: 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. --- source/blender/modifiers/intern/MOD_surface.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/modifiers/intern/MOD_surface.c') diff --git a/source/blender/modifiers/intern/MOD_surface.c b/source/blender/modifiers/intern/MOD_surface.c index 252022a5439..32b342b1471 100644 --- a/source/blender/modifiers/intern/MOD_surface.c +++ b/source/blender/modifiers/intern/MOD_surface.c @@ -241,4 +241,6 @@ ModifierTypeInfo modifierType_Surface = { /* foreachTexLink */ NULL, /* freeRuntimeData */ NULL, /* panelRegister */ panelRegister, + /* blendWrite */ NULL, + /* blendRead */ NULL, }; -- cgit v1.2.3