05-06-2018, 08:47 PM
: If you start Gimp 2.10 and run your code, you get:
Filters>Reset all filters restores the default values to you can rerun your filter (and re-select a brush).
Otherwise, bona fide bug that you can report on bugzilla.gimp.org
The fixed code:
Fixed.zip (Size: 1.22 KB / Downloads: 312)
Code:
Traceback (most recent call last):
File "/app/lib/gimp/2.0/python/gimpfu.py", line 853, in _run
res = _interact(proc_name, params[1:])
File "/app/lib/gimp/2.0/python/gimpfu.py", line 774, in _interact
wid = _edit_mapping[pf_type](def_val)
File "/app/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'
Filters>Reset all filters restores the default values to you can rerun your filter (and re-select a brush).
Otherwise, bona fide bug that you can report on bugzilla.gimp.org
The fixed code:
Fixed.zip (Size: 1.22 KB / Downloads: 312)