X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Flyr_std%2Fcurvewarp.cpp;h=4d8c76989a1a830f253b1f55769dec281bb4e726;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=82c213d97f55a721f1717d2df0a09cdafb0fcac0;hpb=adfc80c126f482d7ea2bac38001a2c4a7c7df88c;p=synfig.git diff --git a/synfig-core/src/modules/lyr_std/curvewarp.cpp b/synfig-core/src/modules/lyr_std/curvewarp.cpp index 82c213d..4d8c769 100644 --- a/synfig-core/src/modules/lyr_std/curvewarp.cpp +++ b/synfig-core/src/modules/lyr_std/curvewarp.cpp @@ -169,6 +169,8 @@ CurveWarp::CurveWarp(): bline[1].set_width(1.0f); sync(); + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } inline Point @@ -383,28 +385,33 @@ CurveWarp::get_param_vocab()const Layer::Vocab ret; ret.push_back(ParamDesc("origin") - .set_local_name(_("Origin"))); - + .set_local_name(_("Origin")) + .set_description(_("Position of the source line")) + ); ret.push_back(ParamDesc("perp_width") .set_local_name(_("Width")) - .set_origin("start_point")); - + .set_origin("start_point") + .set_description(_("How much is expanded the result perpendicular to the source line")) + ); ret.push_back(ParamDesc("start_point") .set_local_name(_("Start Point")) - .set_connect("end_point")); - + .set_connect("end_point") + .set_description(_("First point of the source line")) + ); ret.push_back(ParamDesc("end_point") - .set_local_name(_("End Point"))); - + .set_local_name(_("End Point")) + .set_description(_("Final point of the source line")) + ); ret.push_back(ParamDesc("bline") .set_local_name(_("Vertices")) .set_origin("origin") .set_hint("width") - .set_description(_("A list of BLine Points"))); - + .set_description(_("List of BLine Points where the source line is curved to")) + ); ret.push_back(ParamDesc("fast") - .set_local_name(_("Fast"))); - + .set_local_name(_("Fast")) + .set_description(_("When checked, renders quickly but with artifacts")) + ); return ret; }