[gimp] Bug 563770 - Layer border visibility don't work with masks



commit 064448cb50185c581646d918e70eff477ababd4c
Author: Michael Natterer <mitch gimp org>
Date:   Mon Aug 31 19:25:25 2009 +0200

    Bug 563770 -  Layer border visibility don't work with masks
    
    (gimp_display_shell_selection_control): don't draw the layer boundary
    if it is hidden.

 app/display/gimpdisplayshell-selection.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-selection.c b/app/display/gimpdisplayshell-selection.c
index 591e0df..81ff5e8 100644
--- a/app/display/gimpdisplayshell-selection.c
+++ b/app/display/gimpdisplayshell-selection.c
@@ -181,7 +181,8 @@ gimp_display_shell_selection_control (GimpDisplayShell     *shell,
           break;
 
         case GIMP_SELECTION_LAYER_ON:
-          selection_layer_draw (selection);
+          if (! selection->layer_hidden)
+            selection_layer_draw (selection);
           break;
 
         case GIMP_SELECTION_ON:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]