01-27-2022, 12:37 PM
(This post was last modified: 01-27-2022, 01:06 PM by rich2005.
Edit Reason: typo
)
What teapot suggests is removing the 'brush' variable. Was between fg_color and stroke at line 36
def python_glossy_stroke_3d(
img, layer, fg_color, stroke, rounding, ls_color, ls_z, glow,
Then because that generates errors, comment out lines 43, 61, 213
# cur_brush = pdb.gimp_context_get_brush()
# pdb.gimp_context_set_brush(brush)
# pdb.gimp_context_set_brush(cur_brush)
Finally comment out the menu registration line 231
# (PF_BRUSH, "brush", "Stroking brush:", None),
zipped, attached
def python_glossy_stroke_3d(
img, layer, fg_color, stroke, rounding, ls_color, ls_z, glow,
Then because that generates errors, comment out lines 43, 61, 213
# cur_brush = pdb.gimp_context_get_brush()
# pdb.gimp_context_set_brush(brush)
# pdb.gimp_context_set_brush(cur_brush)
Finally comment out the menu registration line 231
# (PF_BRUSH, "brush", "Stroking brush:", None),
zipped, attached