X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Fmod_gradient%2Fconicalgradient.cpp;h=c697de243103fe9f4c0106ee79c0fdd705ea4e80;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=7657e4ced772464d921c44042f48b9c2bd4ff35c;hpb=2aa82e84160499903d3e7f85a7770ffe3d04ddb2;p=synfig.git diff --git a/synfig-core/src/modules/mod_gradient/conicalgradient.cpp b/synfig-core/src/modules/mod_gradient/conicalgradient.cpp index 7657e4c..c697de2 100644 --- a/synfig-core/src/modules/mod_gradient/conicalgradient.cpp +++ b/synfig-core/src/modules/mod_gradient/conicalgradient.cpp @@ -71,6 +71,8 @@ ConicalGradient::ConicalGradient(): angle(Angle::zero()), symmetric(false) { + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } bool @@ -104,19 +106,23 @@ ConicalGradient::get_param_vocab()const ret.push_back(ParamDesc("gradient") .set_local_name(_("Gradient")) + .set_description(_("Gradient to apply")) ); ret.push_back(ParamDesc("center") .set_local_name(_("Center")) + .set_description(_("Center of the cone")) ); ret.push_back(ParamDesc("angle") .set_local_name(_("Angle")) .set_origin("center") + .set_description(_("Rotation of the gradient around the center")) ); ret.push_back(ParamDesc("symmetric") .set_local_name(_("Symmetric")) + .set_description(_("When checked the gradient is looped")) ); return ret;