Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Single Dose - Glossy stroke 3d.py
#8
(01-26-2022, 06:06 AM)teapot Wrote: Hi Krikor,

Try these edits:

Delete brush from this line:  
    img, layer, fg_color, brush, stroke, rounding, ls_color, ls_z, glow,
To get this:
    img, layer, fg_color, stroke, rounding, ls_color, ls_z, glow,

Delete these lines (search for brush to find them):

    cur_brush = pdb.gimp_context_get_brush()

    pdb.gimp_context_set_brush(brush)

    pdb.gimp_context_set_brush(cur_brush)

      (PF_BRUSH, "brush", "Stroking brush:", None),

*I added a '#' at the beginning of each line shown above. That is, I didn't really remove the lines, but I believe that the effect is the same as they will no longer be executed by the plugin.

However, even after this "liposuction" on the unwanted fat in the code, nothing has changed. At least nothing that I could notice.

The plugin after the suggested changes* continues to run only once, as it did before the change.

Teapot thanks for trying!
                               .....
Samj PortableGimp 2.10.28 - Win-10 /64.
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 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: