Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_gpencil_modifier.c
| Show First 20 Lines • Show All 3,732 Lines • ▼ Show 20 Lines | void RNA_def_greasepencil_modifier(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_flag(prop, PROP_NO_DEG_UPDATE); | RNA_def_property_flag(prop, PROP_NO_DEG_UPDATE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "ui_expand_flag", 0); | RNA_def_property_boolean_sdna(prop, NULL, "ui_expand_flag", 0); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | ||||
| RNA_def_property_ui_text(prop, "Expanded", "Set modifier expanded in the user interface"); | RNA_def_property_ui_text(prop, "Expanded", "Set modifier expanded in the user interface"); | ||||
| RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); | RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); | ||||
| prop = RNA_def_boolean(srna, | |||||
| "is_override_data", | |||||
| false, | |||||
| "Override Modifier", | |||||
| "In a local override object, whether this modifier comes from the linked " | |||||
| "reference object, or is local to the override"); | |||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | |||||
| RNA_def_property_boolean_negative_sdna( | |||||
| prop, NULL, "flag", eGpencilModifierFlag_OverrideLibrary_Local); | |||||
| /* types */ | /* types */ | ||||
| rna_def_modifier_gpencilnoise(brna); | rna_def_modifier_gpencilnoise(brna); | ||||
| rna_def_modifier_gpencilsmooth(brna); | rna_def_modifier_gpencilsmooth(brna); | ||||
| rna_def_modifier_gpencilsubdiv(brna); | rna_def_modifier_gpencilsubdiv(brna); | ||||
| rna_def_modifier_gpencilsimplify(brna); | rna_def_modifier_gpencilsimplify(brna); | ||||
| rna_def_modifier_gpencilthick(brna); | rna_def_modifier_gpencilthick(brna); | ||||
| rna_def_modifier_gpenciloffset(brna); | rna_def_modifier_gpenciloffset(brna); | ||||
| rna_def_modifier_gpenciltint(brna); | rna_def_modifier_gpenciltint(brna); | ||||
| Show All 19 Lines | |||||