From: dooglus Date: Sun, 3 Feb 2008 20:54:04 +0000 (+0000) Subject: Make the quality of the 'shade' layer worse at quality 10 than it is at quality 9! X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=48bcdd92974704d0c3dff626ed83b8568e11a754;p=synfig.git Make the quality of the 'shade' layer worse at quality 10 than it is at quality 9! git-svn-id: http://svn.voria.com/code@1568 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_std/shade.cpp b/synfig-core/trunk/src/modules/lyr_std/shade.cpp index d37409f..05e0553 100644 --- a/synfig-core/trunk/src/modules/lyr_std/shade.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/shade.cpp @@ -163,14 +163,12 @@ Layer_Shade::accelerated_render(Context context,Surface *surface,int quality, co (offset_v>0?offset_v:0)+h ); - /* - if(quality >=10) + if(quality >= 10) { halfsizex=1; halfsizey=1; - }else - */ - if(quality == 9) + } + else if (quality == 9) { halfsizex/=4; halfsizey/=4;