From d189d410a9216f91f17d97791a050e8a38874d3f Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 3 Feb 2008 18:58:24 +0000 Subject: [PATCH] When linking simple values, use the value from the topmost layer. git-svn-id: http://svn.voria.com/code@1565 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/actions/valuedesclink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/synfigapp/actions/valuedesclink.cpp b/synfig-studio/trunk/src/synfigapp/actions/valuedesclink.cpp index c813361..0432a48 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/valuedesclink.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/valuedesclink.cpp @@ -244,7 +244,7 @@ Action::ValueDescLink::prepare() if(!link_value_node) { status_message = _("No ValueNodes were available, so one was created."); - ValueDesc& value_desc(value_desc_list.front()); + ValueDesc& value_desc(value_desc_list.back()); link_value_node=ValueNode_Const::create(value_desc.get_value(time)); -- 2.7.4