Fix 2119764 "eyedropper doesn't work with straight blends" for checkerboards. http...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 9 Oct 2008 17:47:24 +0000 (17:47 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 9 Oct 2008 17:47:24 +0000 (17:47 +0000)
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

index 29f52e3..30bbf8e 100644 (file)
@@ -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