[gimp] app: fix a second switch with missing paste types.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix a second switch with missing paste types.
- Date: Sat, 10 Feb 2018 23:02:08 +0000 (UTC)
commit a5bc153343469f64f1ac4438f210dbdd49dbc7fa
Author: Jehan <jehan girinstud io>
Date: Sat Feb 10 23:57:45 2018 +0100
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.
app/core/gimp-edit.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimp-edit.c b/app/core/gimp-edit.c
index 8fcd9ec..6591d36 100644
--- a/app/core/gimp-edit.c
+++ b/app/core/gimp-edit.c
@@ -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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]