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