[Tool enhancement] GIH brushes on Smudge tool
From: "Isaque Profeta"
Date: Sat, 17 Nov 2007 16:00:34 -0200
Hi guys,
I'm a user and now starting read the gimp developers site and looking
API and other things to see what I can do to help.
So, I have a question: I'ts too hard to make a full support of GIH
(Animated Brushes) in Smudge tool? Until now in version 2.4.1 when is
used, GIH's with Smudge, just the first brush of a row is used in
that.
I would strongly recommend that you start with something easier. The
brush-tool handling code is probably the most difficult to understand
of anything in GIMP. If you don't believe me, look at app/paint/gimpsmudge.c,
where most of the relevant code for the smudge tool is located.
That being said, I just did a little experiment: I inserted
brush_core_class->handles_changing_brush = TRUE;
as line 95 of gimpsmudge.c -- this is enough to enable the animation.
The smudge tool seems to work that way, but the result does not look
like a smudge to me. It may still be useful.
Best wishes,
-- Bill
______________ ______________ ______________ ______________
Sent via the CNPRC Email system at primate.ucdavis.edu