Revision: 2180
http://synfig.svn.sourceforge.net/synfig/?rev=2180&view=rev
Author: dooglus
Date: 2008-11-10 16:45:06 +0000 (Mon, 10 Nov 2008)
Log Message:
-----------
New environment variable "SYNFIG_FORCE_TILE_RENDER" to cause tile rendering to
always be used. Overrides even SYNFIG_DISABLE_TILE_RENDER.
Modified Paths:
--------------
synfig-studio/trunk/src/gtkmm/workarea.cpp
Modified: synfig-studio/trunk/src/gtkmm/workarea.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/workarea.cpp 2008-11-09 19:50:18 UTC (rev
2179)
+++ synfig-studio/trunk/src/gtkmm/workarea.cpp 2008-11-10 16:45:06 UTC (rev
2180)
@@ -2283,7 +2283,7 @@
// 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));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl