From 05cc89ce4339b23d777db57842da1a178d145c52 Mon Sep 17 00:00:00 2001 From: dooglus Date: Mon, 10 Nov 2008 16:45:06 +0000 Subject: [PATCH] New environment variable "SYNFIG_FORCE_TILE_RENDER" to cause tile rendering to always be used. Overrides even SYNFIG_DISABLE_TILE_RENDER. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2180 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/workarea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index c4ab7d7..e42457d 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -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 trgt(new class WorkAreaTarget(this,w,h)); -- 2.7.4