app: remove checks from stuff that now works on indexed layers
This commit is contained in:
@ -147,14 +147,6 @@ gimp_brightness_contrast_tool_initialize (GimpTool *tool,
|
||||
if (! drawable)
|
||||
return FALSE;
|
||||
|
||||
if (gimp_drawable_is_indexed (drawable))
|
||||
{
|
||||
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
|
||||
_("Brightness-Contrast does not operate "
|
||||
"on indexed layers."));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_config_reset (GIMP_CONFIG (bc_tool->config));
|
||||
|
||||
return GIMP_TOOL_CLASS (parent_class)->initialize (tool, display, error);
|
||||
|
||||
Reference in New Issue
Block a user