X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_add.cpp;h=c67d74eeb6e8bf00047e7679e030a0cefdae387b;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=366b325270efb57d7f74d70d67520ff3fc3600a5;hpb=f579c76cc5a4e8fabcd314699893e69ce09b6d99;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_add.cpp b/synfig-core/trunk/src/synfig/valuenode_add.cpp index 366b325..c67d74e 100644 --- a/synfig-core/trunk/src/synfig/valuenode_add.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_add.cpp @@ -6,7 +6,7 @@ ** ** \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 @@ -119,6 +119,9 @@ synfig::ValueNode_Add::~ValueNode_Add() synfig::ValueBase synfig::ValueNode_Add::operator()(Time t)const { + if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS")) + printf("%s:%d operator()\n", __FILE__, __LINE__); + if(!ref_a || !ref_b) throw runtime_error(strprintf("ValueNode_Add: %s",_("One or both of my parameters aren't set!"))); switch(get_type())