From 48bcdd92974704d0c3dff626ed83b8568e11a754 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 3 Feb 2008 20:54:04 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/modules/lyr_std/shade.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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; -- 2.7.4