continue;
Layer_PasteCanvas* paste_canvas(static_cast<Layer_PasteCanvas*>(layer.get()));
- if(layer->get_name()=="paste_canvas" && paste_canvas->get_time_offset()==0)
+ if(layer->get_name()=="PasteCanvas" && paste_canvas->get_time_offset()==0)
{
Canvas::Handle sub_canvas(Canvas::create_inline(op_canvas));
Canvas::Handle paste_sub_canvas = paste_canvas->get_sub_canvas();
continue;
}catch(int) { }
#endif
- Layer::Handle new_layer(Layer::create("paste_canvas"));
+ Layer::Handle new_layer(Layer::create("PasteCanvas"));
dynamic_cast<Layer_PasteCanvas*>(new_layer.get())->set_muck_with_time(false);
Layer::ParamList param_list(paste_canvas->get_param_list());
//param_list.erase("canvas");
//parammenu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("New Layer"),*newlayers));
- if(layer->get_name()=="paste_canvas")
+ if(layer->get_name()=="PasteCanvas")
{
menu->items().push_back(Gtk::Menu_Helpers::MenuElem(_("Select All Children"),
sigc::bind(
build_new_layer_menu(*newlayers);
parammenu.items().push_back(Gtk::Menu_Helpers::MenuElem("New Layer",*newlayers));
- if(!multiple_selected && layer->get_name()=="paste_canvas")
+ if(!multiple_selected && layer->get_name()=="PasteCanvas")
{
parammenu.items().push_back(Gtk::Menu_Helpers::MenuElem(_("Select All Children"),
sigc::bind(
// If this is a paste canvas layer, then we need to
// descend into it
- if(layer_name=="paste_canvas")
+ if(layer_name=="PasteCanvas")
{
Vector scale;
scale[0]=scale[1]=exp(layer->get_param("zoom").get(Real()));
}
}
- if(!multiple_selected && layer->get_name()=="paste_canvas")
+ if(!multiple_selected && layer->get_name()=="PasteCanvas")
{
action_group_->add(Gtk::Action::create(
"select-all-child-layers",
if(!child_canvas)
child_canvas=Canvas::create_inline(get_canvas());
- Layer::Handle new_layer(Layer::create("paste_canvas"));
+ Layer::Handle new_layer(Layer::create("PasteCanvas"));
new_layer->set_param("canvas",child_canvas);
if(!outside_canvas)
throw String(_("Unable to open this composition"));
- Layer::Handle layer(add_layer_to("paste_canvas",get_canvas()));
+ Layer::Handle layer(add_layer_to("PasteCanvas",get_canvas()));
if(!layer)
throw String(_("Unable to create \"Paste Canvas\" layer"));
if(!layer->set_param("canvas",ValueBase(outside_canvas)))