From 270dcc01eeac566f8543d40827664c54e9b7ebaf Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 10 Oct 2007 16:34:25 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/synfig/layer_pastecanvas.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.7.4