Author: Carlos Lopez <genet...@gmail.com>
Date:   Sun Aug 19 08:59:15 2012 +0200

ConicalGradient: remove debug information.

---

 .../src/modules/mod_gradient/conicalgradient.cpp   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/src/modules/mod_gradient/conicalgradient.cpp 
b/synfig-core/src/modules/mod_gradient/conicalgradient.cpp
index 291c581..4f09627 100644
--- a/synfig-core/src/modules/mod_gradient/conicalgradient.cpp
+++ b/synfig-core/src/modules/mod_gradient/conicalgradient.cpp
@@ -345,7 +345,6 @@ ConicalGradient::accelerated_cairorender(Context 
context,cairo_surface_t *surfac
        }
        cairo_translate(cr, tx , ty);
        cairo_scale(cr, sx, sy);
-       //cairo_rotate(cr,Angle::rad(angle).get());
        cairo_set_operator(cr, CAIRO_OPERATOR_OVER); // TODO: this has to be 
the real operator
        cairo_set_source(cr, pattern);
        cairo_paint_with_alpha(cr, get_amount());
@@ -416,6 +415,7 @@ ConicalGradient::compile_mesh(cairo_pattern_t* pattern, 
Gradient mygradient, Rea
        mygradient.sort();
        mygradient.sort();
        //// Debug
+       if(0)
        {
                int i = 0;
                for (Gradient::const_iterator iter = mygradient.begin(); iter 
!= mygradient.end(); iter++)


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to