Use Color::is_straight(). Also, re-enable the optimization for straight blending...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 20:23:57 +0000 (20:23 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 20:23:57 +0000 (20:23 +0000)
commit2dc2a206a800705cce91751de1ec3127c2ac2397
treec855005adf4768aacd09aa7c8c4fd86b76384dce
parent159c8ba9953730ff45962e6f92370fd531af65f9
Use Color::is_straight().  Also, re-enable the optimization for straight blending when amount==1, but only for layers which don't need to see their context.

git-svn-id: http://svn.voria.com/code@1438 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/synfig/context.cpp