Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_displace.c
| Show First 20 Lines • Show All 467 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| modifier_panel_register(region_type, eModifierType_Displace, panel_draw); | modifier_panel_register(region_type, eModifierType_Displace, panel_draw); | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Displace = { | ModifierTypeInfo modifierType_Displace = { | ||||
| /* name */ "Displace", | /* name */ N_("Displace"), | ||||
| /* structName */ "DisplaceModifierData", | /* structName */ "DisplaceModifierData", | ||||
| /* structSize */ sizeof(DisplaceModifierData), | /* structSize */ sizeof(DisplaceModifierData), | ||||
| /* srna */ &RNA_DisplaceModifier, | /* srna */ &RNA_DisplaceModifier, | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsEditmode, | /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsEditmode, | ||||
| /* icon */ ICON_MOD_DISPLACE, | /* icon */ ICON_MOD_DISPLACE, | ||||
| /* copyData */ BKE_modifier_copydata_generic, | /* copyData */ BKE_modifier_copydata_generic, | ||||
| Show All 22 Lines | |||||