if (get_canvas_view()->canvas_interface()->
change_value(synfigapp::ValueDesc(parent_value_node,
parent_value_node->get_link_index_from_name("split")),
- true);
+ true))
{
// rebuild the ducks from scratch, so the tangents ducks aren't connected
get_canvas_view()->rebuild_ducks();
// 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));
void
studio::WorkArea::zoom_fit()
{
- float new_zoom(min(drawing_area->get_width() * zoom / w, drawing_area->get_height() * zoom / h));
+ float new_zoom(min(drawing_area->get_width() * zoom / w,
+ drawing_area->get_height() * zoom / h) * 0.995);
if (zoom / new_zoom > 0.995 && new_zoom / zoom > 0.995)
{
set_zoom(prev_zoom);