From: dooglus Date: Sun, 3 Feb 2008 18:58:24 +0000 (+0000) Subject: When linking simple values, use the value from the topmost layer. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d189d410a9216f91f17d97791a050e8a38874d3f;p=synfig.git 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 --- 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));