diff options
author | Jacques Lucke <jacques@blender.org> | 2020-09-25 13:49:18 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-09-25 13:49:18 +0300 |
commit | d5870270151920a04cd69bbe4a78f118be09baef (patch) | |
tree | 55d5cdead0341c193ea1e44e72199acd26171b04 /source/blender/modifiers/intern/MOD_laplaciandeform.c | |
parent | d15e8bdaa3343cf97a74f918b2570e66fb7abfa0 (diff) |
Modifiers: add StructRNA pointer field to ModifierTypeInfo
This reduces the number of places that have to be modified
when a new modifier is added.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D9000
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciandeform.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciandeform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciandeform.c b/source/blender/modifiers/intern/MOD_laplaciandeform.c index 41af57ccf6a..94b50a35e17 100644 --- a/source/blender/modifiers/intern/MOD_laplaciandeform.c +++ b/source/blender/modifiers/intern/MOD_laplaciandeform.c @@ -875,6 +875,7 @@ ModifierTypeInfo modifierType_LaplacianDeform = { /* name */ "LaplacianDeform", /* structName */ "LaplacianDeformModifierData", /* structSize */ sizeof(LaplacianDeformModifierData), + /* srna */ &RNA_LaplacianDeformModifier, /* type */ eModifierTypeType_OnlyDeform, /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsEditmode, /* icon */ ICON_MOD_MESHDEFORM, |