return parse_bline_point(element);
else
if(element->get_name()=="canvas")
- return ValueBase(parse_canvas(element,canvas,true));
+ {
+ ValueBase ret;
+ ret.set(parse_canvas(element,canvas,true));
+ ret.set_static(parse_static(element));
+ return ret;
+ }
else
{
error_unexpected_element(element,element->get_name());
xmlpp::Element *node=root->add_child("param");
node->set_attribute("name",iter->get_name());
node->set_attribute("use",child->get_relative_id(layer->get_canvas()));
+ if(value.get_static())
+ node->set_attribute("static", value.get_static()?"true":"false");
continue;
}
}