[aseprite] 44/250: Avoid drawing straight lines with Shift key + Magic Wand tool

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 1b79bd75b9c0f70c19026207647f41e2025cb716
Author: David Capello <davidcapello at gmail.com>
Date:   Wed Sep 16 12:24:25 2015 -0300

    Avoid drawing straight lines with Shift key + Magic Wand tool
---
 src/app/ui/editor/drawing_state.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/ui/editor/drawing_state.cpp b/src/app/ui/editor/drawing_state.cpp
index 53ac1d6..17e839d 100644
--- a/src/app/ui/editor/drawing_state.cpp
+++ b/src/app/ui/editor/drawing_state.cpp
@@ -83,6 +83,7 @@ void DrawingState::initToolLoop(Editor* editor, MouseMessage* msg)
   bool movement = false;
 
   if (m_toolLoop->getController()->isFreehand() &&
+      m_toolLoop->getInk()->isPaint() &&
       (editor->getCustomizationDelegate()
          ->getPressedKeyAction(KeyContext::FreehandTool) & KeyAction::StraightLineFromLastPoint) == KeyAction::StraightLineFromLastPoint &&
       m_lastPoint.x >= 0) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list