[aseprite] 107/250: Pass opacity value to Eraser, Blur, and Jumble tools
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:18 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 3d4fdb62b4d0ca726f6430dc1aa3cf39a7671c64
Author: David Capello <davidcapello at gmail.com>
Date: Wed Sep 30 08:59:32 2015 -0300
Pass opacity value to Eraser, Blur, and Jumble tools
---
src/app/ui/editor/tool_loop_impl.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/app/ui/editor/tool_loop_impl.cpp b/src/app/ui/editor/tool_loop_impl.cpp
index a33d5e5..27094e4 100644
--- a/src/app/ui/editor/tool_loop_impl.cpp
+++ b/src/app/ui/editor/tool_loop_impl.cpp
@@ -139,7 +139,8 @@ public:
// Ignore opacity for these inks
if (!tools::inkHasOpacity(m_toolPref.ink()) &&
- m_brush->type() != kImageBrushType) {
+ m_brush->type() != kImageBrushType &&
+ !m_ink->isEffect()) {
m_opacity = 255;
}
--
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