Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Single Dose - Glossy stroke 3d.py
#11
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


Attached Files
.zip   glossy-stroke.zip (Size: 2.73 KB / Downloads: 100)
Reply


Messages In This Thread
Single Dose - Glossy stroke 3d.py - by Krikor - 01-18-2022, 10:54 AM
RE: Single Dose - Glossy stroke 3d.py - by Ofnuts - 01-18-2022, 11:43 AM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-18-2022, 06:44 PM
RE: Single Dose - Glossy stroke 3d.py - by Ofnuts - 01-18-2022, 08:37 PM
RE: Single Dose - Glossy stroke 3d.py - by teapot - 01-25-2022, 10:43 PM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-26-2022, 12:59 AM
RE: Single Dose - Glossy stroke 3d.py - by teapot - 01-26-2022, 06:06 AM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-26-2022, 04:40 PM
RE: Single Dose - Glossy stroke 3d.py - by teapot - 01-26-2022, 07:30 PM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-27-2022, 11:39 AM
RE: Single Dose - Glossy stroke 3d.py - by rich2005 - 01-27-2022, 12:37 PM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-27-2022, 03:05 PM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-27-2022, 06:24 PM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-27-2022, 06:45 PM
RE: Single Dose - Glossy stroke 3d.py - by teapot - 01-27-2022, 10:23 PM
RE: Single Dose - Glossy stroke 3d.py - by Krikor - 01-28-2022, 01:40 AM
RE: Single Dose - Glossy stroke 3d.py - by arifk - 02-15-2022, 05:40 PM
RE: Single Dose - Glossy stroke 3d.py - by arifk - 02-16-2022, 11:03 AM
RE: Single Dose - Glossy stroke 3d.py - by Ofnuts - 02-18-2022, 09:47 AM
RE: Single Dose - Glossy stroke 3d.py - by Ofnuts - 02-16-2022, 12:52 AM

Forum Jump: