projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When converting to an "Exponential" ValueNode, default the exponent to zero so the...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_bline.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_bline.cpp
b/synfig-core/trunk/src/synfig/valuenode_bline.cpp
index
62227fc
..
366c301
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_bline.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_bline.cpp
@@
-6,7
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-** Copyright (c) 2007 Chris Moore
+** Copyright (c) 2007
, 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
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-282,7
+282,6
@@
ValueNode_BLine::create(const ValueBase &value)
}
}
}
}
-
return value_node;
}
return value_node;
}
@@
-291,7
+290,6
@@
ValueNode_BLine::create_list_entry(int index, Time time, Real origin)
{
ValueNode_BLine::ListEntry ret;
{
ValueNode_BLine::ListEntry ret;
-
synfig::BLinePoint prev,next;
int prev_i,next_i;
synfig::BLinePoint prev,next;
int prev_i,next_i;
@@
-308,7
+306,7
@@
ValueNode_BLine::create_list_entry(int index, Time time, Real origin)
next_i=index;
prev_i=find_prev_valid_entry(index,time);
next_i=index;
prev_i=find_prev_valid_entry(index,time);
- synfig::info("index=%d, next_i=%d, prev_i=%d",index,next_i,prev_i);
+
//
synfig::info("index=%d, next_i=%d, prev_i=%d",index,next_i,prev_i);
next=(*list[next_i].value_node)(time);
prev=(*list[prev_i].value_node)(time);
next=(*list[next_i].value_node)(time);
prev=(*list[prev_i].value_node)(time);