RSS/Atom feed Twitter
Site is read-only, email is disabled

[Tool enhancement] GIH brushes on Smudge tool

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

[Tool enhancement] GIH brushes on Smudge tool Isaque Profeta 17 Nov 19:00
[Tool enhancement] GIH brushes on Smudge tool William Skaggs 17 Nov 20:24
Isaque Profeta
2007-11-17 19:00:34 UTC (over 17 years ago)

[Tool enhancement] GIH brushes on Smudge tool

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.

Thanks for atention,

William Skaggs
2007-11-17 20:24:17 UTC (over 17 years ago)

[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