mirror of https://github.com/GNOME/gimp.git
Bug 738037 - Wrong order of parameters in the Sobel plugin
Get the parameters from the right PDB arguments (parameter index was off-by-one).
This commit is contained in:
parent
e6ce0dda9d
commit
fe8cb9788b
|
@ -171,9 +171,9 @@ run (const gchar *name,
|
|||
}
|
||||
else
|
||||
{
|
||||
bvals.horizontal = (param[4].data.d_int32) ? TRUE : FALSE;
|
||||
bvals.vertical = (param[5].data.d_int32) ? TRUE : FALSE;
|
||||
bvals.keep_sign = (param[6].data.d_int32) ? TRUE : FALSE;
|
||||
bvals.horizontal = (param[3].data.d_int32) ? TRUE : FALSE;
|
||||
bvals.vertical = (param[4].data.d_int32) ? TRUE : FALSE;
|
||||
bvals.keep_sign = (param[5].data.d_int32) ? TRUE : FALSE;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue