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();
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;
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,
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)
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())
{
}
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