Fix 1809480 (Zoom in beyond 8.75 in nested canvases fails).
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 10 Oct 2007 16:34:25 +0000 (16:34 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 10 Oct 2007 16:34:25 +0000 (16:34 +0000)
git-svn-id: http://svn.voria.com/code@896 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/layer_pastecanvas.cpp

index fdc78d2..026a113 100644 (file)
@@ -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;