Make the stretch layer's "amount" duck be relative to the center duck.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 23 Nov 2007 16:46:36 +0000 (16:46 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 23 Nov 2007 16:46:36 +0000 (16:46 +0000)
git-svn-id: http://svn.voria.com/code@1163 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/lyr_std/stretch.cpp

index 6bbf951..ea543b6 100644 (file)
@@ -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")