projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Break the ValueNode 'bad type' error messages up so less translation needs doing.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_blinecalctangent.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp
b/synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp
index
e8fc826
..
822de68
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp
@@
-1,6
+1,6
@@
/* === S Y N F I G ========================================================= */
/*! \file valuenode_blinecalctangent.cpp
/* === S Y N F I G ========================================================= */
/*! \file valuenode_blinecalctangent.cpp
-** \brief
Template File
+** \brief
Implementation of the "BLine Tangent" valuenode conversion.
**
** $Id$
**
**
** $Id$
**
@@
-59,7
+59,7
@@
ValueNode_BLineCalcTangent::ValueNode_BLineCalcTangent(const ValueBase::Type &x)
LinkableValueNode(x)
{
if(x!=ValueBase::TYPE_ANGLE && x!=ValueBase::TYPE_VECTOR)
LinkableValueNode(x)
{
if(x!=ValueBase::TYPE_ANGLE && 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);
ValueNode_BLine* value_node(new ValueNode_BLine());
set_link("bline",value_node);