[gimp] Bug 785001 - Enhanced smudge tool: Smudge with painting
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 785001 - Enhanced smudge tool: Smudge with painting
- Date: Wed, 3 Jan 2018 01:30:21 +0000 (UTC)
commit 119f648a76fa97b05606a2e3c6b76e9d09e8cb63
Author: Michael Natterer <mitch gimp org>
Date: Wed Jan 3 02:29:33 2018 +0100
Bug 785001 - Enhanced smudge tool: Smudge with painting
Enable color picking with Ctrl-Click in the smudge tool because it now
uses the foreground color.
app/tools/gimpsmudgetool.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpsmudgetool.c b/app/tools/gimpsmudgetool.c
index c332d08..6637c7e 100644
--- a/app/tools/gimpsmudgetool.c
+++ b/app/tools/gimpsmudgetool.c
@@ -73,6 +73,9 @@ gimp_smudge_tool_init (GimpSmudgeTool *smudge)
gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_SMUDGE);
+ gimp_paint_tool_enable_color_picker (GIMP_PAINT_TOOL (smudge),
+ GIMP_COLOR_PICK_MODE_FOREGROUND);
+
paint_tool->status = _("Click to smudge");
paint_tool->status_line = _("Click to smudge the line");
paint_tool->status_ctrl = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]