X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Flyr_std%2Fstretch.cpp;h=e0fdb043070abd36f954bc4cc1fdfdb4593d666d;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=de0de940c6ffdec4a4877a3338cf8dd4c47eb81b;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-core/src/modules/lyr_std/stretch.cpp b/synfig-core/src/modules/lyr_std/stretch.cpp index de0de94..e0fdb04 100644 --- a/synfig-core/src/modules/lyr_std/stretch.cpp +++ b/synfig-core/src/modules/lyr_std/stretch.cpp @@ -23,8 +23,6 @@ /* === H E A D E R S ======================================================= */ -#define SYNFIG_NO_ANGLE - #ifdef USING_PCH # include "pch.h" #else @@ -70,6 +68,8 @@ Layer_Stretch::Layer_Stretch(): amount(1,1), center(0,0) { + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } @@ -102,10 +102,12 @@ Layer_Stretch::get_param_vocab()const ret.push_back(ParamDesc("amount") .set_local_name(_("Amount")) .set_origin("center") + .set_description(_("Size of the stretch relative to its Center")) ); ret.push_back(ParamDesc("center") .set_local_name(_("Center")) + .set_description(_("Where the stretch distortion is centered")) ); return ret;