From bd542362f126f3a27639745e71724bec2b295c66 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 2 Mar 2007 16:00:17 +0000 Subject: [PATCH] Fix 1671884: The origin of PasteCanvas layers wasn't being taken into account when calculating whether a PasteCanvas's bounding box overlapped with the rest of the scene. git-svn-id: http://svn.voria.com/code@260 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer_pastecanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp index e82c3d4..3f83cab 100644 --- a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp @@ -325,7 +325,7 @@ Layer_PasteCanvas::accelerated_render(Context context,Surface *surface,int quali blend_method=Color::BLEND_STRAIGHT; } else - if(!etl::intersect(context.get_full_bounding_rect(),full_bounding_rect)) + if(!etl::intersect(context.get_full_bounding_rect(),full_bounding_rect+origin)) { if(Color::is_onto(blend_method)) return true; -- 2.7.4