projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the translated version of the type name in the parameter dialog.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_repeat_gradient.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_repeat_gradient.cpp
b/synfig-core/trunk/src/synfig/valuenode_repeat_gradient.cpp
index
074c5d3
..
181815f
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_repeat_gradient.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_repeat_gradient.cpp
@@
-1,6
+1,6
@@
/* === S Y N F I G ========================================================= */
/*! \file valuenode_repeat_gradient.cpp
/* === S Y N F I G ========================================================= */
/*! \file valuenode_repeat_gradient.cpp
-** \brief
Template File
+** \brief
Implementation of the "Repeat Gradient" valuenode conversion.
**
** $Id: valuenode_repeat_gradient.cpp 604 2007-09-05 14:29:02Z dooglus $
**
**
** $Id: valuenode_repeat_gradient.cpp 604 2007-09-05 14:29:02Z dooglus $
**
@@
-202,6
+202,7
@@
bool
ValueNode_Repeat_Gradient::set_link_vfunc(int i,ValueNode::Handle x)
{
assert(i>=0 && i<link_count());
ValueNode_Repeat_Gradient::set_link_vfunc(int i,ValueNode::Handle x)
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0:
switch(i)
{
case 0:
@@
-234,6
+235,7
@@
ValueNode::LooseHandle
ValueNode_Repeat_Gradient::get_link_vfunc(int i)const
{
assert(i>=0 && i<link_count());
ValueNode_Repeat_Gradient::get_link_vfunc(int i)const
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return gradient_;
switch(i)
{
case 0: return gradient_;
@@
-257,6
+259,7
@@
String
ValueNode_Repeat_Gradient::link_local_name(int i)const
{
assert(i>=0 && i<link_count());
ValueNode_Repeat_Gradient::link_local_name(int i)const
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return _("Gradient");
switch(i)
{
case 0: return _("Gradient");
@@
-274,6
+277,7
@@
String
ValueNode_Repeat_Gradient::link_name(int i)const
{
assert(i>=0 && i<link_count());
ValueNode_Repeat_Gradient::link_name(int i)const
{
assert(i>=0 && i<link_count());
+
switch(i)
{
case 0: return "gradient";
switch(i)
{
case 0: return "gradient";