From 14584123d5a0026ecc586d9aa4b34084651a626b Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 5 Feb 2008 11:39:52 +0000 Subject: [PATCH] Answer and remove a 'todo' comment. git-svn-id: http://svn.voria.com/code@1587 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/value_desc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4