[gimp/metadata-browser] app: don't forget to move the start handle in GimpBlendTool
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: don't forget to move the start handle in GimpBlendTool
- Date: Fri, 2 Dec 2011 02:08:10 +0000 (UTC)
commit 8541c49549e36bd35f0dec90a8ebf6e84adbc82d
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 5 23:40:44 2011 +0200
app: don't forget to move the start handle in GimpBlendTool
because the tool moves both handles when Alt is pressed.
app/tools/gimpblendtool.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpblendtool.c b/app/tools/gimpblendtool.c
index 65bbe60..25e8bf1 100644
--- a/app/tools/gimpblendtool.c
+++ b/app/tools/gimpblendtool.c
@@ -415,11 +415,16 @@ gimp_blend_tool_update_items (GimpBlendTool *blend_tool)
{
if (gimp_draw_tool_is_active (GIMP_DRAW_TOOL (blend_tool)))
{
+ gimp_canvas_handle_set_position (blend_tool->start_handle,
+ blend_tool->start_x,
+ blend_tool->start_y);
+
gimp_canvas_line_set (blend_tool->line,
blend_tool->start_x,
blend_tool->start_y,
blend_tool->end_x,
blend_tool->end_y);
+
gimp_canvas_handle_set_position (blend_tool->end_handle,
blend_tool->end_x,
blend_tool->end_y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]