Make the quality of the 'shade' layer worse at quality 10 than it is at quality 9!
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 20:54:04 +0000 (20:54 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 20:54:04 +0000 (20:54 +0000)
git-svn-id: http://svn.voria.com/code@1568 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/lyr_std/shade.cpp

index d37409f..05e0553 100644 (file)
@@ -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;