Generated Brush
On 08/29/2009 03:47 AM, Christopher Howard wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi. Where is it in the code that generated brush hardness (and other
GimpBrushGenerated data) start getting turned into something more
concrete (something that can be painted).
Hi,
The parameters are turned into a paintable mask in
gimp_brush_generated_calc(). Set a breakpoint in that function to
examine how and from where it is called. You probably wan't to run a
debug-enabled build of GTK+ so you can set the GDK_DEBUG env var to
"nograbs".
If you hit a breakpoint while a grab is active, you'll have to either do
a X11 ungrab with Ctrl+Alt+KeypadDivide, which requires an explicit X11
ungrab configuration of the X11 server, or you need to switch to a
terminal (typically with a keystroke like Ctrl+Alt+F2) and do pkill -9
gimp-2.6.
HTH,
Martin