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
This commit is contained in:
@@ -758,6 +758,7 @@ ModifierTypeInfo modifierType_Ocean = {
|
||||
/* name */ "Ocean",
|
||||
/* structName */ "OceanModifierData",
|
||||
/* structSize */ sizeof(OceanModifierData),
|
||||
/* srna */ &RNA_OceanModifier,
|
||||
/* type */ eModifierTypeType_Constructive,
|
||||
/* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsEditmode |
|
||||
eModifierTypeFlag_EnableInEditmode,
|
||||
|
||||
Reference in New Issue
Block a user