Bug 702369 - foreground selection doesnt work with image precision >8 bit
This removes the obsolete check which makes the tool fail from gimp_display_shell_set_mask(). Also change the foreground select tool and the display mask from using GimpChannel to GeglBuffer, because that's what it needs, simply buffers. Most changed files simply newly include <gegl.h> because a GeglBuffer appeared in two headers.
This commit is contained in:
@ -186,7 +186,7 @@ struct _GimpDisplayShell
|
||||
gdouble rotate_drag_angle;
|
||||
gpointer scroll_info;
|
||||
|
||||
GimpDrawable *mask;
|
||||
GeglBuffer *mask;
|
||||
GimpRGB mask_color;
|
||||
|
||||
GimpMotionBuffer *motion_buffer;
|
||||
@ -272,7 +272,7 @@ void gimp_display_shell_resume (GimpDisplayShell *shell);
|
||||
void gimp_display_shell_set_highlight (GimpDisplayShell *shell,
|
||||
const GdkRectangle *highlight);
|
||||
void gimp_display_shell_set_mask (GimpDisplayShell *shell,
|
||||
GimpDrawable *mask,
|
||||
GeglBuffer *mask,
|
||||
const GimpRGB *color);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user