From e9371d0128b64033e7d00f1abcbc9e2d24998434 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 22 Nov 2008 15:57:54 +0000 Subject: [PATCH] Fix 2315706: "Rename Exported Valuenode from imported canvases crash". Stop the crash, but not a full fix. Better would be to copy all the exported valuenodes when exporting the imported canvas. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2256 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/canvasinterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp index 13e5871..da1a802 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp @@ -588,6 +588,7 @@ CanvasInterface::import(const synfig::String &filename, synfig::String &errors, throw String(_("Unable to create \"Paste Canvas\" layer")); if(!layer->set_param("canvas",ValueBase(outside_canvas))) throw int(); + get_canvas()->register_external_canvas(filename, outside_canvas); //layer->set_description(basename(filename)); signal_layer_new_description()(layer,filename); -- 2.7.4