Re: [Gimp-developer] Wishlist: gegl Gaussian blur X&Y settings



On Fri, May 18, 2012 at 9:45 PM, Partha Bagchi <partha1b gmail com> wrote:
> On Fri, May 18, 2012 at 8:35 PM, Michael Natterer <mitch gimp org> wrote:
>> On Fri, 2012-05-18 at 19:20 -0400, Partha Bagchi wrote:
>>> On Fri, May 18, 2012 at 7:05 PM, Michael Natterer <mitch gimp org> wrote:
>>> > On Fri, 2012-05-18 at 18:24 -0400, Partha Bagchi wrote:
>>> >> Hi All,
>>> >>
>>> >> For the Gaussian blur gegl tool, is it possible to link the X & Y size
>>> >> settings so that they scroll together? More often than not, you are
>>> >> likely to use the same value in both directions.
>>> >
>>> > This is planned, by using hints on the gegl properties, so the
>>> > gimp UI can be constructed generically, we will not add a special
>>> > case for blur.
>>> >
>>> > --Mitch
>>> >
>>> >
>>>
>>> Sounds good to me. Looking forward to it.
>>
>> I couldn't resist and hacked it up as proof-of-concept, without
>> hinting from GEGL:
>>
>> commit c0351f070673fdb84320f9ac917cba78bf9088f6
>> Author: Michael Natterer <mitch gimp org>
>> Date:   Sat May 19 02:30:32 2012 +0200
>>
>>    app: connect x/y and width/height properties of GEGL ops with chain
>> buttons
>>
>>    Add (too) simple heuristic that connects to subsequent numeric
>> property
>>    widgets with a chain button if their property names have the
>> suffixes
>>    "x" and "y", or "width" and "height".
>>
>>
>
> Wait! You already committed it?? :)

Woo-hooo! Works great on 2.9.1! Thanks!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]