X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Flyr_std%2Fstretch.cpp;h=e0fdb043070abd36f954bc4cc1fdfdb4593d666d;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=0f1c37dd808e74cdb7513e5448fc1bfc728be72f;hpb=4d106ef7cccca26ba8a588a3ae9f722e8ca70df6;p=synfig.git diff --git a/synfig-core/src/modules/lyr_std/stretch.cpp b/synfig-core/src/modules/lyr_std/stretch.cpp index 0f1c37d..e0fdb04 100644 --- a/synfig-core/src/modules/lyr_std/stretch.cpp +++ b/synfig-core/src/modules/lyr_std/stretch.cpp @@ -68,6 +68,8 @@ Layer_Stretch::Layer_Stretch(): amount(1,1), center(0,0) { + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } @@ -100,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;