Hi everyone,
May I ask someone to give me some feedback about a patch I posted
dealing with bug n° 612931 ?
I probably not understood something ... but I recently checked it
again, and according to me, it does
the trick : allowing the move tool to move individual layer inside a
layer group ( with "pick a layer" option
selected, of course ).
Gilles.
> 612931 - Moving individual layer in layer group not possible with
> Move Tool
>From e42c4afe9c24c644468c4f4f0fcb75088ce782a7 Mon Sep 17 00:00:00 2001
From: Gilles Rochefort <gilles@tux.(none)>
Date: Sat, 10 Jul 2010 02:45:13 +0200
Subject: [PATCH] bugfix 612931 : Moving individual layer in a group with Move Tool.
Dealing with group layer in gimpimage-pick-layer.c allows
one to move individual layer in a layer group.
---
app/core/gimpimage-pick-layer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/app/core/gimpimage-pick-layer.c b/app/core/gimpimage-pick-layer.c
index 0a78fba..ddc0b82 100644
--- a/app/core/gimpimage-pick-layer.c
+++ b/app/core/gimpimage-pick-layer.c
@@ -48,7 +48,8 @@ gimp_image_pick_layer (const GimpImage *image,
gimp_item_get_offset (GIMP_ITEM (layer), &off_x, &off_y);
- if (gimp_pickable_get_opacity_at (GIMP_PICKABLE (layer),
+ if (! GIMP_IS_GROUP_LAYER (layer) &&
+ gimp_pickable_get_opacity_at (GIMP_PICKABLE (layer),
x - off_x, y - off_y) > 63)
{
g_list_free (all_layers);
--
1.6.4.4
_______________________________________________
Gimp-developer mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer