projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set the description of some parameters
[synfig.git]
/
synfig-core
/
src
/
modules
/
lyr_std
/
stretch.cpp
diff --git
a/synfig-core/src/modules/lyr_std/stretch.cpp
b/synfig-core/src/modules/lyr_std/stretch.cpp
index
de0de94
..
e0fdb04
100644
(file)
--- a/
synfig-core/src/modules/lyr_std/stretch.cpp
+++ b/
synfig-core/src/modules/lyr_std/stretch.cpp
@@
-23,8
+23,6
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
-#define SYNFIG_NO_ANGLE
-
#ifdef USING_PCH
# include "pch.h"
#else
#ifdef USING_PCH
# include "pch.h"
#else
@@
-70,6
+68,8
@@
Layer_Stretch::Layer_Stretch():
amount(1,1),
center(0,0)
{
amount(1,1),
center(0,0)
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
}
@@
-102,10
+102,12
@@
Layer_Stretch::get_param_vocab()const
ret.push_back(ParamDesc("amount")
.set_local_name(_("Amount"))
.set_origin("center")
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"))
);
ret.push_back(ParamDesc("center")
.set_local_name(_("Center"))
+ .set_description(_("Where the stretch distortion is centered"))
);
return ret;
);
return ret;