Author: Carlos Lopez <genet...@gmail.com>
Date:   Sun Apr  7 18:19:36 2013 +0200

Fix bug #366: Cairo render: Group layer doesn't render its context when its 
content doesn't overlap.

---

 synfig-core/src/synfig/layer_pastecanvas.cpp |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/synfig-core/src/synfig/layer_pastecanvas.cpp 
b/synfig-core/src/synfig/layer_pastecanvas.cpp
index 50a6209..ddc4f4b 100644
--- a/synfig-core/src/synfig/layer_pastecanvas.cpp
+++ b/synfig-core/src/synfig/layer_pastecanvas.cpp
@@ -668,11 +668,6 @@ Layer_PasteCanvas::accelerated_cairorender(Context 
context,cairo_surface_t *surf
                // surface, and we're rendering 'onto', then we're done
                if (Color::is_onto(blend_method) && 
!Color::is_straight(blend_method))
                        return true;
-               
-               /* 'straight' is faster than 'composite' and has the same
-                * effect if the affected area of the lower layer is
-                * transparent.*/
-               if (blend_method==Color::BLEND_COMPOSITE) blend_using_straight 
= true;
        }
        
        // render the canvas to be pasted onto pastesurface


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to