X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_vectorlength.cpp;h=5d85f986d6fb09fcf1ae30132ba2a2e6927c65ae;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=7eac3dd30ca68d74b8ed9cc349a34e65cfb4fcf8;hpb=9f3c3466f998f1b5cc945c92332b9e7d2b8fd1cc;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_vectorlength.cpp b/synfig-core/trunk/src/synfig/valuenode_vectorlength.cpp index 7eac3dd..5d85f98 100644 --- a/synfig-core/trunk/src/synfig/valuenode_vectorlength.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_vectorlength.cpp @@ -85,6 +85,9 @@ ValueNode_VectorLength::~ValueNode_VectorLength() ValueBase ValueNode_VectorLength::operator()(Time t)const { + if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS")) + printf("%s:%d operator()\n", __FILE__, __LINE__); + return (*vector_)(t).get(Vector()).mag(); }