From 16258775587e1e1826b46d2084ecbb277b4ac140 Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 5 Feb 2008 11:40:10 +0000 Subject: [PATCH] Clarification. git-svn-id: http://svn.voria.com/code@1589 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/value_desc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/synfigapp/value_desc.h b/synfig-studio/trunk/src/synfigapp/value_desc.h index 5e7a73a..bc4405e 100644 --- a/synfig-studio/trunk/src/synfigapp/value_desc.h +++ b/synfig-studio/trunk/src/synfigapp/value_desc.h @@ -143,7 +143,7 @@ public: if(parent_is_layer_param() && layer->dynamic_param_list().count(name)) return layer->dynamic_param_list().find(name)->second; if(parent_is_linkable_value_node()) - return synfig::LinkableValueNode::Handle::cast_reinterpret(parent_value_node)->get_link(index); + return (synfig::LinkableValueNode::Handle::cast_reinterpret(parent_value_node))->get_link(index); // return reinterpret_cast(parent_value_node.get())->get_link(index); return 0; } @@ -152,7 +152,7 @@ public: 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) + if(parent_is_value_node_const()) return (*parent_value_node)(0); if(is_value_node() && get_value_node()) return (*get_value_node())(time); -- 2.7.4