X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Flyr_std%2Ftwirl.cpp;h=fdd1d52dfa9d532a79e563caf9f0a18e9053f299;hb=d243d7ecee75cc386a751c79ce7085e92afcbf27;hp=38d209728dfe81d8b601bbfe6c051b4d0446989d;hpb=adfc80c126f482d7ea2bac38001a2c4a7c7df88c;p=synfig.git diff --git a/synfig-core/src/modules/lyr_std/twirl.cpp b/synfig-core/src/modules/lyr_std/twirl.cpp index 38d2097..fdd1d52 100644 --- a/synfig-core/src/modules/lyr_std/twirl.cpp +++ b/synfig-core/src/modules/lyr_std/twirl.cpp @@ -71,6 +71,8 @@ Twirl::Twirl(): distort_inside(true), distort_outside(false) { + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } bool @@ -107,6 +109,7 @@ Twirl::get_param_vocab()const ret.push_back(ParamDesc("center") .set_local_name(_("Center")) + .set_description(_("Center of the circle")) ); ret.push_back(ParamDesc("radius") @@ -118,15 +121,18 @@ Twirl::get_param_vocab()const ret.push_back(ParamDesc("rotations") .set_local_name(_("Rotations")) + .set_description(_("The number of rotations of the twirl effect")) .set_origin("center") ); ret.push_back(ParamDesc("distort_inside") .set_local_name(_("Distort Inside")) + .set_description(_("When checked, distorts inside the circle")) ); ret.push_back(ParamDesc("distort_outside") .set_local_name(_("Distort Outside")) + .set_description(_("When checked, distorts outside the circle")) ); return ret;