X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Flyr_std%2Fwarp.cpp;h=6d310330fffcc0172440fba484d337f1691d98c9;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=f11c290ae069e64a5f92bef19163f433a4946c9a;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-core/src/modules/lyr_std/warp.cpp b/synfig-core/src/modules/lyr_std/warp.cpp index f11c290..6d31033 100644 --- a/synfig-core/src/modules/lyr_std/warp.cpp +++ b/synfig-core/src/modules/lyr_std/warp.cpp @@ -74,6 +74,8 @@ Warp::Warp(): { sync(); horizon=4; + Layer::Vocab voc(get_param_vocab()); + Layer::fill_static(voc); } Warp::~Warp() @@ -370,30 +372,36 @@ Warp::get_param_vocab()const ret.push_back(ParamDesc("src_tl") .set_local_name(_("Source TL")) .set_box("src_br") + .set_description(_("Top Left corner of the source to warp")) ); ret.push_back(ParamDesc("src_br") .set_local_name(_("Source BR")) + .set_description(_("Bottom Right corner of the source to warp")) ); ret.push_back(ParamDesc("dest_tl") .set_local_name(_("Dest TL")) .set_connect("dest_tr") + .set_description(_("Top Left corner of the destination")) ); ret.push_back(ParamDesc("dest_tr") .set_local_name(_("Dest TR")) .set_connect("dest_br") + .set_description(_("Top Right corner of the destination")) ); ret.push_back(ParamDesc("dest_br") .set_local_name(_("Dest BR")) .set_connect("dest_bl") + .set_description(_("Bottom Right corner of the destination")) ); ret.push_back(ParamDesc("dest_bl") .set_local_name(_("Dest BL")) .set_connect("dest_tl") + .set_description(_("Bottom Left corner of the destination")) ); ret.push_back(ParamDesc("clip") @@ -402,6 +410,7 @@ Warp::get_param_vocab()const ret.push_back(ParamDesc("horizon") .set_local_name(_("Horizon")) + .set_description(_("Height that determines the horizon in perspectives")) ); return ret;