Re: [Gimp-developer] patch: change default units for colors/map/rotate colors, from radians over pi (!) to degrees



On Tue, 2012-12-04 at 15:08 -0500, Liam R E Quin wrote:
> The "colors/map/rotate colors" dialog box uses angles to show colour
> ranges; it defaults to using radians over pi for the angle.
> 
> I'm pretty sure more Gimp users will want degrees than radians over pi
> for rotating colours. There's a pull-down menu to change it, but it's
> irritating to have to do that every time, and it seems crazy to add a
> preference.
> 
> The enclosed patch changes the default to degrees.
> 
> It does not affect the actual plugin, only the GIMP dialog box.
> 
> The change would presumably also affect the documentation.
> 
> Minor note, the indenting and code style in this plugin is somewhat
> varied, e.g. with spaces in foo () in some places and not - foo() - in
> others. I tried to make the few lines I changed more gimpish.

Yeah, go ahead and push to 2-8 and master please.

--mitch




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