X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_twotone.cpp;h=65752d4986df3fed5a51b1e8c4f3f9af8e6224bf;hb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;hp=cc058380ad537887e7b3d890381535c13d3c620c;hpb=e8a065f2385c219c511b57dac52786120bfa097d;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_twotone.cpp b/synfig-core/trunk/src/synfig/valuenode_twotone.cpp index cc05838..65752d4 100644 --- a/synfig-core/trunk/src/synfig/valuenode_twotone.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_twotone.cpp @@ -72,13 +72,13 @@ ValueNode_TwoTone::create(const ValueBase& x) if(id!=ValueBase::TYPE_GRADIENT) { assert(0); - throw runtime_error("synfig::ValueNode_TwoTone:Bad type "+ValueBase::type_name(id)); - } + throw runtime_error("synfig::ValueNode_TwoTone:Bad type "+ValueBase::type_name(id)); + } ValueNode_TwoTone* value_node=new ValueNode_TwoTone(); assert(value_node->get_type()==id); - + return value_node; } @@ -162,7 +162,7 @@ ValueNode_TwoTone::link_local_name(int i)const return _("Color2"); } return String(); -} +} String ValueNode_TwoTone::link_name(int i)const @@ -176,7 +176,7 @@ ValueNode_TwoTone::link_name(int i)const return "color2"; } return String(); -} +} int ValueNode_TwoTone::get_link_index_from_name(const String &name)const