From: Carlos Lopez Date: Tue, 24 Aug 2010 15:41:19 +0000 (+0200) Subject: Enable load static option to the canvas parameter X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=820c250c15a6ae2dc0cb3966405b82fc0937e9d1;p=synfig.git Enable load static option to the canvas parameter --- diff --git a/synfig-core/src/synfig/loadcanvas.cpp b/synfig-core/src/synfig/loadcanvas.cpp index e36c63a..1e715c3 100644 --- a/synfig-core/src/synfig/loadcanvas.cpp +++ b/synfig-core/src/synfig/loadcanvas.cpp @@ -1795,6 +1795,8 @@ CanvasParser::parse_layer(xmlpp::Element *element,Canvas::Handle canvas) if(!c) error((*iter),strprintf(_("Failed to load subcanvas '%s'"), str.c_str())); if(!layer->set_param(param_name,c)) error((*iter),_("Layer rejected canvas link")); + //Parse the static option and sets it to the canvas ValueBase + layer->set_param_static(param_name, parse_static(child)); } else try