Commit: e497cbefaef3ccdb65ade50e1a3e84c304cb2057 Author: Antonio Vazquez Date: Wed Feb 26 20:05:15 2020 +0100 Branches: greasepencil-object https://developer.blender.org/rBe497cbefaef3ccdb65ade50e1a3e84c304cb2057
GPencil: Replace Enable Fading with Enable Fade Also changed property name =================================================================== M release/scripts/startup/bl_ui/properties_data_modifier.py M source/blender/makesrna/intern/rna_gpencil_modifier.c =================================================================== diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 2c97e19d0f6..541434f7534 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -2130,8 +2130,8 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel): subcol.separator() - subcol.prop(md, "enable_fading") - if md.enable_fading: + subcol.prop(md, "use_fade") + if md.use_fade: subcol.prop(md, "fading_center") subcol.prop(md, "fading_thickness", slider=True) subcol.prop(md, "fading_opacity", slider=True) diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index d27a1aff750..b1bceedefa7 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -1907,9 +1907,9 @@ static void rna_def_modifier_gpencilmultiply(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Angle Splitting", "Enable angle splitting"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "enable_fading", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_fade", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flags", GP_MULTIPLY_ENABLE_FADING); - RNA_def_property_ui_text(prop, "Enable Fading", "Enable fading"); + RNA_def_property_ui_text(prop, "Enable Fade", "Enable fade"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); prop = RNA_def_property(srna, "split_angle", PROP_FLOAT, PROP_NONE); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs