Comment out a bunch of old debugging code.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 1 Feb 2008 22:54:22 +0000 (22:54 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 1 Feb 2008 22:54:22 +0000 (22:54 +0000)
git-svn-id: http://svn.voria.com/code@1552 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/layermove.cpp

index 4d67c77..be220a5 100644 (file)
@@ -136,7 +136,7 @@ Action::LayerMove::set_param(const synfig::String& name, const Action::Param &pa
 bool
 Action::LayerMove::is_ready()const
 {
-       synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
+       // synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
        if(!layer || (unsigned)new_index==0xdeadbeef)
                return false;
        return Action::CanvasSpecific::is_ready();
@@ -145,7 +145,7 @@ Action::LayerMove::is_ready()const
 void
 Action::LayerMove::perform()
 {
-       synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
+       // synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
 
        Canvas::Handle subcanvas(layer->get_canvas());
        src_canvas=subcanvas;
@@ -159,7 +159,7 @@ Action::LayerMove::perform()
        if(*iter!=layer)
                throw Error(_("This layer doesn't exist anymore."));
 
-       synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
+       // synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
 
        // If the subcanvas isn't the same as the canvas,
        // then it had better be an inline canvas. If not,
@@ -178,7 +178,7 @@ Action::LayerMove::perform()
 
        set_dirty(layer->active());
 
-       synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
+       // synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
 
        // If we were to move it to where it is
        if(old_index==depth && src_canvas==dest_canvas)
@@ -197,7 +197,7 @@ Action::LayerMove::perform()
        layer->changed();
        dest_canvas->changed(); if(dest_canvas!=src_canvas) src_canvas->changed();
 
-       synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
+       // synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
 
        if(get_canvas_interface())
        {
@@ -219,7 +219,7 @@ Action::LayerMove::perform()
        }
        else synfig::warning("CanvasInterface not set on action");
 
-       synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
+       // synfig::info(__FILE__":%d: layer->count()=%d",__LINE__,layer.count());
 }
 
 void