From: dooglus Date: Tue, 5 Feb 2008 11:39:52 +0000 (+0000) Subject: Answer and remove a 'todo' comment. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=14584123d5a0026ecc586d9aa4b34084651a626b;p=synfig.git Answer and remove a 'todo' comment. git-svn-id: http://svn.voria.com/code@1587 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/value_desc.h b/synfig-studio/trunk/src/synfigapp/value_desc.h index 509f871..5e7a73a 100644 --- a/synfig-studio/trunk/src/synfigapp/value_desc.h +++ b/synfig-studio/trunk/src/synfigapp/value_desc.h @@ -151,8 +151,8 @@ public: synfig::ValueBase get_value(synfig::Time time=0)const { + // if the value is constant, return that constant value (at *any* time, it doesn't matter which) if(parent_is_value_node_const() && parent_value_node) - // \todo "(*parent_value_node)(0)"? shouldn't that be "(*parent_value_node)(time)"? return (*parent_value_node)(0); if(is_value_node() && get_value_node()) return (*get_value_node())(time);