diff options
author | Omar Emara <mail@OmarEmara.dev> | 2021-11-19 16:58:37 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2021-11-19 16:58:37 +0300 |
commit | 0852805ed771043f43752658bb763983a8aae408 (patch) | |
tree | 8d77c8a13cd783c4932c8a937176209e92ad551f /source/blender/makesrna/intern/rna_gpencil_modifier.c | |
parent | 06691d1b21fe06c86876c78e45ca75cb1aa048ae (diff) | |
parent | a20e703d1a5cc0d3e4294825e31609d9b92da06d (diff) |
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index a62c27f5f4b..82f3279146a 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -3738,6 +3738,16 @@ void RNA_def_greasepencil_modifier(BlenderRNA *brna) 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); + 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 */ rna_def_modifier_gpencilnoise(brna); rna_def_modifier_gpencilsmooth(brna); |