[gimp] Filter out linked children of linked items to transform
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Filter out linked children of linked items to transform
- Date: Tue, 25 Aug 2009 19:31:16 +0000 (UTC)
commit 6fa6aa268629f254d275be41ddf31d555664bbb3
Author: Michael Natterer <mitch gimp org>
Date: Tue Aug 25 15:55:30 2009 +0200
Filter out linked children of linked items to transform
app/core/gimpitem-linked.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpitem-linked.c b/app/core/gimpitem-linked.c
index 824c3ae..aa41723 100644
--- a/app/core/gimpitem-linked.c
+++ b/app/core/gimpitem-linked.c
@@ -48,6 +48,8 @@ gimp_item_linked_translate (GimpItem *item,
GIMP_ITEM_TYPE_ALL,
GIMP_ITEM_SET_LINKED);
+ list = gimp_image_item_list_filter (item, list, TRUE, FALSE);
+
gimp_image_item_list_translate (gimp_item_get_image (item), list,
offset_x, offset_y, push_undo);
@@ -72,6 +74,8 @@ gimp_item_linked_flip (GimpItem *item,
GIMP_ITEM_TYPE_ALL,
GIMP_ITEM_SET_LINKED);
+ list = gimp_image_item_list_filter (item, list, TRUE, FALSE);
+
gimp_image_item_list_flip (gimp_item_get_image (item), list, context,
flip_type, axis, clip_result);
@@ -98,6 +102,8 @@ gimp_item_linked_rotate (GimpItem *item,
GIMP_ITEM_TYPE_VECTORS,
GIMP_ITEM_SET_LINKED);
+ list = gimp_image_item_list_filter (item, list, TRUE, FALSE);
+
gimp_image_item_list_rotate (gimp_item_get_image (item), list, context,
rotate_type, center_x, center_y, clip_result);
@@ -107,6 +113,8 @@ gimp_item_linked_rotate (GimpItem *item,
GIMP_ITEM_TYPE_CHANNELS,
GIMP_ITEM_SET_LINKED);
+ list = gimp_image_item_list_filter (item, list, TRUE, FALSE);
+
gimp_image_item_list_rotate (gimp_item_get_image (item), list, context,
rotate_type, center_x, center_y, TRUE);
@@ -135,6 +143,8 @@ gimp_item_linked_transform (GimpItem *item,
GIMP_ITEM_TYPE_ALL,
GIMP_ITEM_SET_LINKED);
+ list = gimp_image_item_list_filter (item, list, TRUE, FALSE);
+
gimp_image_item_list_transform (gimp_item_get_image (item), list, context,
matrix, direction,
interpolation_type, recursion_level,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]