projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct code and enable tests for ETL "spline" and "value"
[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
0f1c37d
..
e0fdb04
100644
(file)
--- a/
synfig-core/src/modules/lyr_std/stretch.cpp
+++ b/
synfig-core/src/modules/lyr_std/stretch.cpp
@@
-68,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);
}
}
@@
-100,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;