From: dooglus Date: Mon, 10 Nov 2008 16:45:06 +0000 (+0000) Subject: New environment variable "SYNFIG_FORCE_TILE_RENDER" to cause tile rendering to always... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=05cc89ce4339b23d777db57842da1a178d145c52;p=synfig.git 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 --- 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));