Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_decimate.c
| Show First 20 Lines • Show All 265 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| modifier_panel_register(region_type, eModifierType_Decimate, panel_draw); | modifier_panel_register(region_type, eModifierType_Decimate, panel_draw); | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Decimate = { | ModifierTypeInfo modifierType_Decimate = { | ||||
| /* name */ "Decimate", | /* name */ N_("Decimate"), | ||||
| /* structName */ "DecimateModifierData", | /* structName */ "DecimateModifierData", | ||||
| /* structSize */ sizeof(DecimateModifierData), | /* structSize */ sizeof(DecimateModifierData), | ||||
| /* srna */ &RNA_DecimateModifier, | /* srna */ &RNA_DecimateModifier, | ||||
| /* type */ eModifierTypeType_Nonconstructive, | /* type */ eModifierTypeType_Nonconstructive, | ||||
| /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_AcceptsCVs, | /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_AcceptsCVs, | ||||
| /* icon */ ICON_MOD_DECIM, | /* icon */ ICON_MOD_DECIM, | ||||
| /* copyData */ BKE_modifier_copydata_generic, | /* copyData */ BKE_modifier_copydata_generic, | ||||
| Show All 22 Lines | |||||