From: dooglus Date: Fri, 23 Nov 2007 16:46:36 +0000 (+0000) Subject: Make the stretch layer's "amount" duck be relative to the center duck. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=40a315abe777665bd65fd4b5b35c8fb94b70c4dc;p=synfig.git Make the stretch layer's "amount" duck be relative to the center duck. git-svn-id: http://svn.voria.com/code@1163 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_std/stretch.cpp b/synfig-core/trunk/src/modules/lyr_std/stretch.cpp index 6bbf951..ea543b6 100644 --- a/synfig-core/trunk/src/modules/lyr_std/stretch.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/stretch.cpp @@ -101,6 +101,7 @@ Layer_Stretch::get_param_vocab()const ret.push_back(ParamDesc("amount") .set_local_name(_("Amount")) + .set_origin("center") ); ret.push_back(ParamDesc("center")