[gimp] app: also show rotation preview for multiple-selected paths.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: also show rotation preview for multiple-selected paths.
- Date: Wed, 12 Oct 2022 15:19:18 +0000 (UTC)
commit 274c079c4cf2640b57a6461493b5dd098ba0b727
Author: Jehan <jehan girinstud io>
Date: Wed Oct 12 17:16:48 2022 +0200
app: also show rotation preview for multiple-selected paths.
app/tools/gimptransformgridtool.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimptransformgridtool.c b/app/tools/gimptransformgridtool.c
index 13b9f0376e..550387e59b 100644
--- a/app/tools/gimptransformgridtool.c
+++ b/app/tools/gimptransformgridtool.c
@@ -821,11 +821,12 @@ gimp_transform_grid_tool_draw (GimpDrawTool *draw_tool)
}
else if (tr_options->type == GIMP_TRANSFORM_TYPE_PATH)
{
- GimpVectors *vectors = gimp_image_get_active_vectors (image);
+ GList *iter;
- if (vectors)
+ for (iter = gimp_image_get_selected_vectors (image); iter; iter = iter->next)
{
- GimpStroke *stroke = NULL;
+ GimpVectors *vectors = iter->data;
+ GimpStroke *stroke = NULL;
while ((stroke = gimp_vectors_stroke_get_next (vectors, stroke)))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]