New environment variable "SYNFIG_FORCE_TILE_RENDER" to cause tile rendering to always...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 10 Nov 2008 16:45:06 +0000 (16:45 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 10 Nov 2008 16:45:06 +0000 (16:45 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2180 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/workarea.cpp

index c4ab7d7..e42457d 100644 (file)
@@ -2283,7 +2283,7 @@ studio::WorkArea::async_update_preview()
        // if we have lots of pixels to render and the tile renderer isn't disabled, use it
        int div;
        div = low_resolution ? low_res_pixel_size : 1;
-       if (w*h > 240*div*135*div && !getenv("SYNFIG_DISABLE_TILE_RENDER"))
+       if ((w*h > 240*div*135*div && !getenv("SYNFIG_DISABLE_TILE_RENDER")) || getenv("SYNFIG_FORCE_TILE_RENDER"))
        {
                // do a tile render
                handle<WorkAreaTarget> trgt(new class WorkAreaTarget(this,w,h));