Answer and remove a 'todo' comment.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 5 Feb 2008 11:39:52 +0000 (11:39 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 5 Feb 2008 11:39:52 +0000 (11:39 +0000)
git-svn-id: http://svn.voria.com/code@1587 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/value_desc.h

index 509f871..5e7a73a 100644 (file)
@@ -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);