X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_blinecalcwidth.cpp;h=4d8ee0e3b5c0dad2d69c23c2755fbb2d6c4ffe81;hb=b629d4c68aa88800d2db81e922468da3e5122bef;hp=bfb291b747ceccaadcf091aa0405dc08a1f8baca;hpb=0f6cbbaa466e8da2ac71586793015854d27f72be;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_blinecalcwidth.cpp b/synfig-core/trunk/src/synfig/valuenode_blinecalcwidth.cpp index bfb291b..4d8ee0e 100644 --- a/synfig-core/trunk/src/synfig/valuenode_blinecalcwidth.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_blinecalcwidth.cpp @@ -88,7 +88,10 @@ ValueNode_BLineCalcWidth::~ValueNode_BLineCalcWidth() ValueBase ValueNode_BLineCalcWidth::operator()(Time t, Real amount)const { - const std::vector bline((*bline_)(t)); + if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS")) + printf("%s:%d operator()\n", __FILE__, __LINE__); + + const std::vector bline((*bline_)(t).get_list()); handle bline_value_node(bline_); const bool looped(bline_value_node->get_loop()); int size = bline.size(), from_vertex;