mirror of https://github.com/GNOME/gimp.git
app: in bucket fill tool, don't calculate line art of layer groups
... since they can't be used with the fill tool.
This commit is contained in:
parent
19320235f1
commit
4b4fffbd0e
|
@ -847,6 +847,9 @@ gimp_bucket_fill_tool_reset_line_art (GimpBucketFillTool *tool,
|
||||||
{
|
{
|
||||||
GimpDrawable *drawable = gimp_image_get_active_drawable (image);
|
GimpDrawable *drawable = gimp_image_get_active_drawable (image);
|
||||||
|
|
||||||
|
if (gimp_viewable_get_children (GIMP_VIEWABLE (drawable)))
|
||||||
|
drawable = NULL;
|
||||||
|
|
||||||
if (options->sample_merged)
|
if (options->sample_merged)
|
||||||
gimp_line_art_set_input (line_art, GIMP_PICKABLE (image));
|
gimp_line_art_set_input (line_art, GIMP_PICKABLE (image));
|
||||||
else if (drawable)
|
else if (drawable)
|
||||||
|
|
Loading…
Reference in New Issue