X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;h=b2144e3797e72feb0bafa7d66cb364dde79490e4;hb=6f8559ddcb82636029d07776700d51b0e0c35e92;hp=074e41fb2eded2eb769ddf8de519411161a48186;hpb=1e9792b864c8565ac9d05796eb91fb03fb09a64d;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_blinecalcvertex.cpp b/synfig-core/trunk/src/synfig/valuenode_blinecalcvertex.cpp index 074e41f..b2144e3 100644 --- a/synfig-core/trunk/src/synfig/valuenode_blinecalcvertex.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_blinecalcvertex.cpp @@ -1,6 +1,6 @@ /* === S Y N F I G ========================================================= */ /*! \file valuenode_blinecalcvertex.cpp -** \brief Template File +** \brief Implementation of the "BLine Vertex" valuenode conversion. ** ** $Id$ ** @@ -58,7 +58,7 @@ ValueNode_BLineCalcVertex::ValueNode_BLineCalcVertex(const ValueBase::Type &x): LinkableValueNode(x) { if(x!=ValueBase::TYPE_VECTOR) - throw Exception::BadType(ValueBase::type_name(x)); + throw Exception::BadType(ValueBase::type_local_name(x)); ValueNode_BLine* value_node(new ValueNode_BLine()); set_link("bline",value_node); @@ -140,23 +140,15 @@ ValueNode_BLineCalcVertex::get_local_name()const } bool -ValueNode_BLineCalcVertex::set_link_vfunc(int i,ValueNode::Handle x) +ValueNode_BLineCalcVertex::set_link_vfunc(int i,ValueNode::Handle value) { assert(i>=0 && i=0 && i=0 && i=0 && i