Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_cloth.c
| Show First 20 Lines • Show All 269 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void panelRegister(ARegionType *region_type) | static void panelRegister(ARegionType *region_type) | ||||
| { | { | ||||
| modifier_panel_register(region_type, eModifierType_Cloth, panel_draw); | modifier_panel_register(region_type, eModifierType_Cloth, panel_draw); | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Cloth = { | ModifierTypeInfo modifierType_Cloth = { | ||||
| /* name */ "Cloth", | /* name */ N_("Cloth"), | ||||
| /* structName */ "ClothModifierData", | /* structName */ "ClothModifierData", | ||||
| /* structSize */ sizeof(ClothModifierData), | /* structSize */ sizeof(ClothModifierData), | ||||
| /* srna */ &RNA_ClothModifier, | /* srna */ &RNA_ClothModifier, | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_UsesPointCache | | /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_UsesPointCache | | ||||
| eModifierTypeFlag_Single, | eModifierTypeFlag_Single, | ||||
| /* icon */ ICON_MOD_CLOTH, | /* icon */ ICON_MOD_CLOTH, | ||||
| Show All 23 Lines | |||||