Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Has anyone noticed this?
#1
in GIMP 2.10
When I write plug-in it runs multiple times fine
but if I add a
(PF_BRUSH, "brushname", "Brush:", 0),
as input
it only runs first time or I have to go to Filters/Reset All Filters to get plug-in input dialog to show up again.
Is that a bug? or is 0 in the line 
(PF_BRUSH, "brushname", "Brush:", 0),
causing this?
I tried (PF_BRUSH, "brushname", "Brush:", "Clipboard Image"), and that broke my plug-in altogether
Reply
#2
(Yesterday, 05:40 PM)trandoductin Wrote: in GIMP 2.10
When I write plug-in it runs multiple times fine
but if I add a
(PF_BRUSH, "brushname", "Brush:", 0),
as input
it only runs first time or I have to go to Filters/Reset All Filters to get plug-in input dialog to show up again.
Is that a bug? or is 0 in the line 
(PF_BRUSH, "brushname", "Brush:", 0),
causing this?
I tried (PF_BRUSH, "brushname", "Brush:", "Clipboard Image"), and that broke my plug-in altogether

There's an old known issue for this but don't know what the status of it is now, if you scroll to the end I think it says won't be fixed due to gimp 3 making it obselete:
https://gitlab.gnome.org/GNOME/gimp/-/issues/6317

With using
    (PF_BRUSH, "brush", "Brush", None),
on a rather out of date 2.10 I get this in the second run:

Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 853, in _run
    res = _interact(proc_name, params[1:])
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 774, in _interact
    wid = _edit_mapping[pf_type](def_val)
  File "/usr/lib/gimp/2.0/python/gimpui.py", line 193, in __init__
    self.set_brush(default, -1.0, -1, -1)
AttributeError: 'BrushSelector' object has no attribute 'set_brush'
Reply
#3
Obsolete? I don't know I still like GIMP 2.10 a lot.
GIMP 3.0 seems too fancy for me like a whole new beast.

I think even when people migrate to GIMP 3.0 I'll still try to do GIG on fiverr for 2.10. I'll let other people do GIMP 3.0 if they want to jump in on that market.
Reply


Forum Jump: