mirror of https://github.com/GNOME/gimp.git
applied a patch from Henrik Brix Andersen that tells the user that Curve
2004-06-05 Sven Neumann <sven@gimp.org> * plug-ins/common/curve_bend.c: applied a patch from Henrik Brix Andersen that tells the user that Curve Bend cannot operate on layers with masks instead of silently applying the mask (bug #134748).
This commit is contained in:
parent
d1d565ba83
commit
9a0d74f1cf
|
@ -1,3 +1,10 @@
|
|||
2004-06-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/curve_bend.c: applied a patch from Henrik Brix
|
||||
Andersen that tells the user that Curve Bend cannot operate on
|
||||
layers with masks instead of silently applying the mask
|
||||
(bug #134748).
|
||||
|
||||
2004-06-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/plugin-defs.pl
|
||||
|
|
|
@ -721,7 +721,15 @@ run (const gchar *name,
|
|||
* some transitions (especially rotate) cant operate proper on
|
||||
* layers with masks !
|
||||
*/
|
||||
gimp_layer_remove_mask (l_layer_id, 0 /* 0==APPLY */ );
|
||||
if (run_mode == GIMP_RUN_NONINTERACTIVE)
|
||||
{
|
||||
gimp_layer_remove_mask (l_layer_id, 0 /* 0==APPLY */ );
|
||||
}
|
||||
else
|
||||
{
|
||||
g_message (_("Cannot operate on layers with masks."));
|
||||
status = GIMP_PDB_EXECUTION_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
/* if there is a selection, make it the floating selection layer */
|
||||
|
|
Loading…
Reference in New Issue