projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove an Autoconf warning about AC_COMPILE_IFELSE and AC_RUN_IFELSE being
[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
67c1775
..
3a3c2cc
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp
@@
-90,7
+90,10
@@
ValueNode_BLineCalcTangent::~ValueNode_BLineCalcTangent()
ValueBase
ValueNode_BLineCalcTangent::operator()(Time t, Real amount)const
{
ValueBase
ValueNode_BLineCalcTangent::operator()(Time t, Real amount)const
{
- const std::vector<ValueBase> bline((*bline_)(t));
+ if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+ printf("%s:%d operator()\n", __FILE__, __LINE__);
+
+ const std::vector<ValueBase> bline((*bline_)(t).get_list());
handle<ValueNode_BLine> bline_value_node(bline_);
const bool looped(bline_value_node->get_loop());
int size = bline.size(), from_vertex;
handle<ValueNode_BLine> bline_value_node(bline_);
const bool looped(bline_value_node->get_loop());
int size = bline.size(), from_vertex;