Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-09-03 21:17:01 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-09-03 21:17:09 +0300
commit19fff96ef5dc84cf9bffdd7501f27ca99bfa760c (patch)
treebbd8dc6eca8f6782ce99a1e73506bcebbcffba14 /source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
parent6d39fd94b458e1165c03590e3e80a475fc32cfdf (diff)
Fix T80289: GPencil Opacity modifier not working
This error was introduced in the refactor of the modifier panels.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
index 02a5bf6e4b1..80d26aa43d2 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
@@ -227,7 +227,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
uiItemR(layout, ptr, "normalize_opacity", 0, NULL, ICON_NONE);
const char *text = (RNA_boolean_get(ptr, "normalize_opacity")) ? IFACE_("Strength") :
IFACE_("Opacity Factor");
- uiItemR(layout, ptr, "hardness", 0, text, ICON_NONE);
+ uiItemR(layout, ptr, "factor", 0, text, ICON_NONE);
}
gpencil_modifier_panel_end(layout, ptr);