X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcvertex.cpp;h=7109f32d7ea9148e3e6460a52fa02d71cbeb16a0;hb=87a8cdff9da146170699176dddceaa894c1adefc;hp=074e41fb2eded2eb769ddf8de519411161a48186;hpb=684cf1db661a9a5cbc142238cf05d6d2f7aa3f89;p=synfig.git diff --git a/synfig-core/tags/stable/src/synfig/valuenode_blinecalcvertex.cpp b/synfig-core/tags/stable/src/synfig/valuenode_blinecalcvertex.cpp index 074e41f..7109f32 100644 --- a/synfig-core/tags/stable/src/synfig/valuenode_blinecalcvertex.cpp +++ b/synfig-core/tags/stable/src/synfig/valuenode_blinecalcvertex.cpp @@ -1,11 +1,12 @@ /* === S Y N F I G ========================================================= */ /*! \file valuenode_blinecalcvertex.cpp -** \brief Template File +** \brief Implementation of the "BLine Vertex" valuenode conversion. ** ** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -58,7 +59,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 +141,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