• Michael Natterer's avatar
    Fixed bug #141930 while keeping bug #132322 fixed: · a2850f6d
    Michael Natterer authored
    2004-06-28  Michael Natterer  <mitch@gimp.org>
    
    	Fixed bug #141930 while keeping bug #132322 fixed:
    
    	* app/base/curves.c (curves_lut_func)
    	* app/base/levels.c (levels_lut_func): changed meaning of channel
    	slots for GRAYA images: just as for GRAY images, expect the value
    	channel in slot 0 and the alpha channel in slot 1, so it matches
    	the meaning of slots of GimpHistogram (before this change, only
    	GRAY images had their value in slot 0 and GRAYA images had it in
    	slot 1, whereas the histogram had the value channel in slot 0,
    	which was breaking auto levels for GRAYA images).
    
    	* app/tools/gimpcurvestool.c
    	* app/tools/gimplevelstool.c
    	* tools/pdbgen/pdb/color.pdb: adjusted channel fiddling for GRAY
    	and GRAYA images accordingly.
    
    	* app/tools/gimpcurvestool.c (curves_update)
    	* app/tools/gimplevelstool.c (levels_update): call
    	gimp_color_bar_set_buffers() with the right buffers.
    
    	* app/pdb/color_cmds.c: regenerated.
    a2850f6d
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
base-enums.c Loading commit data...
base-enums.h Loading commit data...
base-types.h Loading commit data...
base.c Loading commit data...
base.h Loading commit data...
boundary.c Loading commit data...
boundary.h Loading commit data...
brush-scale.c Loading commit data...
brush-scale.h Loading commit data...
color-balance.c Loading commit data...
color-balance.h Loading commit data...
colorize.c Loading commit data...
colorize.h Loading commit data...
cpercep.c Loading commit data...
cpercep.h Loading commit data...
cpu-accel.c Loading commit data...
cpu-accel.h Loading commit data...
curves.c Loading commit data...
curves.h Loading commit data...
gimphistogram.c Loading commit data...
gimphistogram.h Loading commit data...
gimplut.c Loading commit data...
gimplut.h Loading commit data...
hue-saturation.c Loading commit data...
hue-saturation.h Loading commit data...
levels.c Loading commit data...
levels.h Loading commit data...
lut-funcs.c Loading commit data...
lut-funcs.h Loading commit data...
makefile.msc Loading commit data...
pixel-processor.c Loading commit data...
pixel-processor.h Loading commit data...
pixel-region.c Loading commit data...
pixel-region.h Loading commit data...
pixel-surround.c Loading commit data...
pixel-surround.h Loading commit data...
temp-buf.c Loading commit data...
temp-buf.h Loading commit data...
test-cpu-accel.c Loading commit data...
threshold.c Loading commit data...
threshold.h Loading commit data...
tile-cache.c Loading commit data...
tile-cache.h Loading commit data...
tile-manager-crop.c Loading commit data...
tile-manager-crop.h Loading commit data...
tile-manager-private.h Loading commit data...
tile-manager.c Loading commit data...
tile-manager.h Loading commit data...
tile-private.h Loading commit data...
tile-swap.c Loading commit data...
tile-swap.h Loading commit data...
tile.c Loading commit data...
tile.h Loading commit data...