[gimp/gimp-2-6] Bug 563770 - Layer border visibility don't work with masks
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-6] Bug 563770 - Layer border visibility don't work with masks
- Date: Mon, 31 Aug 2009 17:36:56 +0000 (UTC)
commit 9aa0f9ab79b483d3dbfdbd77d72c112f14efc9d3
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.
(cherry picked from commit 064448cb50185c581646d918e70eff477ababd4c)
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 928d3b8..3e20e07 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]