From cfa7b5f6f6f0041a517c77644a8cc2172cb2d3ef Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 9 Oct 2008 17:47:24 +0000 Subject: [PATCH] Fix 2119764 "eyedropper doesn't work with straight blends" for checkerboards. http://dooglus.rincevent.net/synfig/eyedrop-checkerboard.sifz shows an example of how it wasn't working before. View the Info panel which moving the mouse cursor over the transparent canvas and see non-transparent pixel values. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2088 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/mod_geometry/checkerboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/modules/mod_geometry/checkerboard.cpp b/synfig-core/trunk/src/modules/mod_geometry/checkerboard.cpp index 29f52e3..30bbf8e 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/checkerboard.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/checkerboard.cpp @@ -160,7 +160,7 @@ CheckerBoard::get_color(Context context, const Point &getpos)const return Color::blend(color,context.get_color(getpos),get_amount(),get_blend_method()); } else - return context.get_color(getpos); + return Color::blend(Color::alpha(),context.get_color(getpos),get_amount(),get_blend_method()); } bool -- 2.7.4