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:
@@ -1010,6 +1010,7 @@ ModifierTypeInfo modifierType_Array = {
|
||||
/* name */ "Array",
|
||||
/* structName */ "ArrayModifierData",
|
||||
/* structSize */ sizeof(ArrayModifierData),
|
||||
/* srna */ &RNA_ArrayModifier,
|
||||
/* type */ eModifierTypeType_Constructive,
|
||||
/* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping |
|
||||
eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode |
|
||||
|
||||
Reference in New Issue
Block a user