New environment variable "SYNFIG_FORCE_TILE_RENDER" to cause tile rendering to always...
[synfig.git] / 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));