Bug 594651 - layer.scale() raises RuntimeError
Add "interpolation" to kwlist for pygimp layer.scale()
This commit is contained in:
@ -1404,7 +1404,8 @@ lay_scale(PyGimpLayer *self, PyObject *args, PyObject *kwargs)
|
||||
int interpolation = -1;
|
||||
gboolean local_origin = FALSE;
|
||||
|
||||
static char *kwlist[] = { "width", "height", "local_origin", NULL };
|
||||
static char *kwlist[] = { "width", "height", "local_origin",
|
||||
"interpolation", NULL };
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ii|ii:scale", kwlist,
|
||||
&new_width, &new_height,
|
||||
|
||||
Reference in New Issue
Block a user