diff options
author | YimingWu <xp8110@outlook.com> | 2020-10-02 16:57:59 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2020-10-02 16:57:59 +0300 |
commit | bcf9a62ca2862e38027cf6a5844aa5514ee74b98 (patch) | |
tree | af50e795cc7ceb88c09d16d59daaf952ca179726 /source/blender/gpencil_modifiers | |
parent | 5819faf42bfca4f526db730401d945fdca71ffa9 (diff) |
GPencil: property name change to "use_fading".
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c | 4 | ||||
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c index eee06f20190..da9e6c7ad0c 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c @@ -278,8 +278,8 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) uiItemR(layout, ptr, "factor", 0, text, ICON_NONE); } - bool fading_enabled = RNA_boolean_get(ptr, "fading"); - uiItemR(layout, ptr, "fading", 0, NULL, ICON_NONE); + bool fading_enabled = RNA_boolean_get(ptr, "use_fading"); + uiItemR(layout, ptr, "use_fading", 0, NULL, ICON_NONE); if (fading_enabled) { uiItemR(layout, ptr, "object", 0, NULL, ICON_CUBE); uiLayout *sub = uiLayoutColumn(layout, true); diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c index 3bc53d48c9c..59df43c408f 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c @@ -219,8 +219,8 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) uiItemR(layout, ptr, "thickness_factor", 0, NULL, ICON_NONE); } - bool fading_enabled = RNA_boolean_get(ptr, "fading"); - uiItemR(layout, ptr, "fading", 0, NULL, ICON_NONE); + bool fading_enabled = RNA_boolean_get(ptr, "use_fading"); + uiItemR(layout, ptr, "use_fading", 0, NULL, ICON_NONE); if (fading_enabled) { uiItemR(layout, ptr, "object", 0, NULL, ICON_CUBE); uiLayout *sub = uiLayoutColumn(layout, true); |