Fix 1671884: The origin of PasteCanvas layers wasn't being taken into account when...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 2 Mar 2007 16:00:17 +0000 (16:00 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 2 Mar 2007 16:00:17 +0000 (16:00 +0000)
git-svn-id: http://svn.voria.com/code@260 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index e82c3d4..3f83cab 100644 (file)
@@ -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;