From b7ff1d990dbaed9a712b965fec0e047fa358348f Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 21 Mar 2014 22:32:30 -0300 Subject: [PATCH] "Put alpha" ink behaves as default ink in indexed mode --- src/app/tools/ink_processing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tools/ink_processing.h b/src/app/tools/ink_processing.h index d37549635..f3e5147d1 100644 --- a/src/app/tools/ink_processing.h +++ b/src/app/tools/ink_processing.h @@ -166,7 +166,7 @@ void PutAlphaInkProcessing::processPixel(int x, int y) { template<> void PutAlphaInkProcessing::processPixel(int x, int y) { - // Do nothing, as indexed images doesn't have alpha channel. + *m_dstAddress = m_color; } //////////////////////////////////////////////////////////////////////