From: dooglus Date: Wed, 10 Oct 2007 16:34:25 +0000 (+0000) Subject: Fix 1809480 (Zoom in beyond 8.75 in nested canvases fails). X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=270dcc01eeac566f8543d40827664c54e9b7ebaf;p=synfig.git Fix 1809480 (Zoom in beyond 8.75 in nested canvases fails). git-svn-id: http://svn.voria.com/code@896 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp index fdc78d2..026a113 100644 --- a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp @@ -359,7 +359,9 @@ Layer_PasteCanvas::accelerated_render(Context context,Surface *surface,int quali Surface pastesurface; - if(area.area()<=0.000001 || desc.get_w()==0 || desc.get_h()==0) + // \todo this used to also have "area.area()<=0.000001 || " - is it useful? + // it was causing bug #1809480 (Zoom in beyond 8.75 in nested canvases fails) + if(desc.get_w()==0 || desc.get_h()==0) { if(cb && !cb->amount_complete(10000,10000)) return false;