mirror of https://github.com/GNOME/gimp.git
app: fall back to BG fill if gimp_get_fill_params() doesn't find a pattern
This commit is contained in:
parent
be6a47e750
commit
ce639f031b
app/core
|
@ -551,6 +551,10 @@ gimp_get_fill_params (GimpContext *context,
|
|||
{
|
||||
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
|
||||
_("No patterns available for this operation."));
|
||||
|
||||
/* fall back to BG fill */
|
||||
gimp_context_get_background (context, color);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue