break;
default:
assert(0);
- throw runtime_error(_("synfig::ValueNode_Add:Bad type ")+ValueBase::type_local_name(id));
+ throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(id));
}
}
ValueNode_Add::set_link_vfunc(int i,ValueNode::Handle value)
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: CHECK_TYPE_AND_SET_VALUE(ref_a, get_type());
ValueNode_Add::get_link_vfunc(int i)const
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return ref_a;
ValueNode_Add::link_local_name(int i)const
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return _("LHS");
ValueNode_Add::link_name(int i)const
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return "lhs";