Don't show $GLIB, since it's never set.
[synfig.git] / synfig-core / trunk / src / synfig / layer_pastecanvas.cpp
index 67c5899..3f83cab 100644 (file)
@@ -79,6 +79,7 @@ SYNFIG_LAYER_SET_CVS_ID(Layer_PasteCanvas,"$Id: layer_pastecanvas.cpp,v 1.3 2005
 
 Layer_PasteCanvas::Layer_PasteCanvas():
        origin(0,0),
+       depth(0),
        zoom(0),
        time_offset(0)
 {
@@ -324,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;