Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_lattice.c
| Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| modifier_panel_register(region_type, eModifierType_Lattice, panel_draw); | modifier_panel_register(region_type, eModifierType_Lattice, panel_draw); | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Lattice = { | ModifierTypeInfo modifierType_Lattice = { | ||||
| /* name */ "Lattice", | /* name */ N_("Lattice"), | ||||
| /* structName */ "LatticeModifierData", | /* structName */ "LatticeModifierData", | ||||
| /* structSize */ sizeof(LatticeModifierData), | /* structSize */ sizeof(LatticeModifierData), | ||||
| /* srna */ &RNA_LatticeModifier, | /* srna */ &RNA_LatticeModifier, | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | ||||
| eModifierTypeFlag_SupportsEditmode, | eModifierTypeFlag_SupportsEditmode, | ||||
| /* icon */ ICON_MOD_LATTICE, | /* icon */ ICON_MOD_LATTICE, | ||||
| Show All 23 Lines | |||||