- Surface pastesurface;
-
- // \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;
-
- return true;
- }
-
- if(!canvas->get_context().accelerated_render(&pastesurface,quality,desc,&stagetwo))
- return false;
-
- Surface::alpha_pen apen(surface->get_pen(x,y));
-
- apen.set_alpha(get_amount());
- apen.set_blend_method(blend_method);
-
- pastesurface.blit_to(apen);
- }
-#else // SYNFIG_CLIP_PASTECANVAS
+ // \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)