[gimp] app: don't hide the transformed layer for the flip tool



commit 0c98028f3bc461310f412bf37bbb9a1541f53062
Author: Michael Natterer <mitch gimp org>
Date:   Wed May 10 15:11:39 2017 +0200

    app: don't hide the transformed layer for the flip tool
    
    flip has no interaction.

 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 eb7d850..415c767 100644
--- a/app/tools/gimptransformtool.c
+++ b/app/tools/gimptransformtool.c
@@ -1896,6 +1896,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                      &&
+      tr_tool->use_grid /* not for flip */       &&
       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]