mirror of https://github.com/GNOME/gimp.git
app: fix a second switch with missing paste types.
Completing previous commit, the next switch was not raising any error, but I believe the new "in place" variants of paste as floating selection also have to be processed for mask removal.
This commit is contained in:
parent
da3baa1cab
commit
a5bc153343
|
@ -258,7 +258,9 @@ gimp_edit_paste_get_layer (GimpImage *image,
|
|||
switch (*paste_type)
|
||||
{
|
||||
case GIMP_PASTE_TYPE_FLOATING:
|
||||
case GIMP_PASTE_TYPE_FLOATING_IN_PLACE:
|
||||
case GIMP_PASTE_TYPE_FLOATING_INTO:
|
||||
case GIMP_PASTE_TYPE_FLOATING_INTO_IN_PLACE:
|
||||
/* when pasting as floating selection, get rid of the layer mask,
|
||||
* and make sure the layer has the right format
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue