From: dooglus Date: Sat, 8 Mar 2008 22:30:36 +0000 (+0000) Subject: Another fix for the old walk.sifz example. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=362b56aa1fe5be3c424ec1f531e72ae2909df622;p=synfig.git Another fix for the old walk.sifz example. git-svn-id: http://svn.voria.com/code@1893 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/loadcanvas.cpp b/synfig-core/trunk/src/synfig/loadcanvas.cpp index 8cf5cba..402c0e0 100644 --- a/synfig-core/trunk/src/synfig/loadcanvas.cpp +++ b/synfig-core/trunk/src/synfig/loadcanvas.cpp @@ -1730,6 +1730,12 @@ CanvasParser::parse_layer(xmlpp::Element *element,Canvas::Handle canvas) handle value_node=canvas->surefind_value_node(str); // Assign the value_node to the dynamic parameter list + if (param_name == "segment_list" && (layer->get_name() == "region" || layer->get_name() == "outline")) + { + synfig::warning("%s: Updated valuenode connection to use the \"bline\" parameter instead of \"segment_list\".", + layer->get_name().c_str()); + param_name = "bline"; + } layer->connect_dynamic_param(param_name,value_node); } catch(Exception::IDNotFound)