[aseprite] 145/308: Don't show shading on effect tools (Eraser, Blur, Jumble)

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:03 UTC 2016


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

thansen pushed a commit to branch master
in repository aseprite.

commit 2cac6a0706d43e8cdb832f1b6d6ddc380f13b61d
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Dec 22 17:05:33 2015 -0300

    Don't show shading on effect tools (Eraser, Blur, Jumble)
---
 src/app/ui/context_bar.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/ui/context_bar.cpp b/src/app/ui/context_bar.cpp
index 5a63ca4..feb93e6 100644
--- a/src/app/ui/context_bar.cpp
+++ b/src/app/ui/context_bar.cpp
@@ -1481,7 +1481,7 @@ void ContextBar::updateForTool(tools::Tool* tool)
        (isEffect));
 
     hasInkShades =
-      (isPaint && toolPref->ink() == InkType::SHADING);
+      (isPaint && !isEffect && toolPref->ink() == InkType::SHADING);
 
     m_freehandAlgo->setFreehandAlgorithm(toolPref->freehandAlgorithm());
 

-- 
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