When linking simple values, use the value from the topmost layer.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 18:58:24 +0000 (18:58 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 18:58:24 +0000 (18:58 +0000)
git-svn-id: http://svn.voria.com/code@1565 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/valuedesclink.cpp

index c813361..0432a48 100644 (file)
@@ -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));