Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpencil_modifiers/intern/MOD_gpenciltexture.c
| Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| PanelType *panel_type = gpencil_modifier_panel_register( | PanelType *panel_type = gpencil_modifier_panel_register( | ||||
| region_type, eGpencilModifierType_Texture, panel_draw); | region_type, eGpencilModifierType_Texture, panel_draw); | ||||
| gpencil_modifier_subpanel_register( | gpencil_modifier_subpanel_register( | ||||
| region_type, "mask", "Influence", NULL, mask_panel_draw, panel_type); | region_type, "mask", "Influence", NULL, mask_panel_draw, panel_type); | ||||
| } | } | ||||
| GpencilModifierTypeInfo modifierType_Gpencil_Texture = { | GpencilModifierTypeInfo modifierType_Gpencil_Texture = { | ||||
| /* name */ "TextureMapping", | /* name */ N_("TextureMapping"), | ||||
| /* structName */ "TextureGpencilModifierData", | /* structName */ "TextureGpencilModifierData", | ||||
| /* structSize */ sizeof(TextureGpencilModifierData), | /* structSize */ sizeof(TextureGpencilModifierData), | ||||
| /* type */ eGpencilModifierTypeType_Gpencil, | /* type */ eGpencilModifierTypeType_Gpencil, | ||||
| /* flags */ eGpencilModifierTypeFlag_SupportsEditmode, | /* flags */ eGpencilModifierTypeFlag_SupportsEditmode, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| /* deformStroke */ deformStroke, | /* deformStroke */ deformStroke, | ||||
| Show All 13 Lines | |||||