Fix T80289: GPencil Opacity modifier not working
This error was introduced in the refactor of the modifier panels.
This commit is contained in:
parent
cb1875c6f5
commit
0da0b5984a
Notes:
blender-bot
2023-02-14 08:10:10 +01:00
Referenced by issue #80289, Grease Pencil Opacity modifier not working in 2.90 master
|
@ -227,8 +227,8 @@ static void panel_draw(const bContext *C, Panel *panel)
|
|||
else {
|
||||
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);
|
||||
IFACE_("Opacity Factor");
|
||||
uiItemR(layout, &ptr, "factor", 0, text, ICON_NONE);
|
||||
}
|
||||
|
||||
gpencil_modifier_panel_end(layout, &ptr);
|
||||
|
|
Loading…
Reference in New Issue