[gimp] Bug 315051 - Image preview in transforms keeps original version visible
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 315051 - Image preview in transforms keeps original version visible
- Date: Fri, 5 May 2017 23:08:27 +0000 (UTC)
commit 6561dec3df987d1ccbdc1648676d42642810bfb8
Author: Michael Natterer <mitch gimp org>
Date: Sat May 6 01:07:53 2017 +0200
Bug 315051 - Image preview in transforms keeps original version visible
Only hide the layer if the transform preview is visible.
app/tools/gimptransformtool.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimptransformtool.c b/app/tools/gimptransformtool.c
index 2676994..eb7d850 100644
--- a/app/tools/gimptransformtool.c
+++ b/app/tools/gimptransformtool.c
@@ -1895,6 +1895,7 @@ gimp_transform_tool_hide_active_item (GimpTransformTool *tr_tool,
/* hide only complete layers and channels, not layer masks */
if (options->type == GIMP_TRANSFORM_TYPE_LAYER &&
+ options->show_preview &&
GIMP_IS_DRAWABLE (item) &&
! GIMP_IS_LAYER_MASK (item) &&
gimp_item_get_visible (item) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]