Fix 1826376, 1848018, 1901753. All caused by not making a copy of a canvas before...
[synfig.git] / synfig-studio / trunk / src / synfigapp / actions / canvasadd.cpp
index afec584..1aa35a5 100644 (file)
@@ -94,7 +94,7 @@ Action::CanvasAdd::set_param(const synfig::String& name, const Action::Param &pa
 {
        if(name=="src" && param.get_type()==Param::TYPE_CANVAS)
        {
-               new_canvas=param.get_canvas();
+               new_canvas=param.get_canvas()->clone();
 
                return true;
        }