projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More descriptions for layer parameters
[synfig.git]
/
synfig-core
/
src
/
modules
/
mod_geometry
/
outline.cpp
diff --git
a/synfig-core/src/modules/mod_geometry/outline.cpp
b/synfig-core/src/modules/mod_geometry/outline.cpp
index
e84effb
..
b57d855
100644
(file)
--- a/
synfig-core/src/modules/mod_geometry/outline.cpp
+++ b/
synfig-core/src/modules/mod_geometry/outline.cpp
@@
-161,6
+161,9
@@
Outline::Outline()
bline=bline_point_list;
needs_sync=true;
bline=bline_point_list;
needs_sync=true;
+
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
}
@@
-822,11
+825,13
@@
Outline::get_param_vocab()const
ret.push_back(ParamDesc("width")
.set_is_distance()
.set_local_name(_("Outline Width"))
ret.push_back(ParamDesc("width")
.set_is_distance()
.set_local_name(_("Outline Width"))
+ .set_description(_("Global width of the outline"))
);
ret.push_back(ParamDesc("expand")
.set_is_distance()
.set_local_name(_("Expand"))
);
ret.push_back(ParamDesc("expand")
.set_is_distance()
.set_local_name(_("Expand"))
+ .set_description(_("Value to add to the global width"))
);
ret.push_back(ParamDesc("sharp_cusps")
);
ret.push_back(ParamDesc("sharp_cusps")
@@
-848,6
+853,7
@@
Outline::get_param_vocab()const
);
ret.push_back(ParamDesc("homogeneous_width")
.set_local_name(_("Homogeneous"))
);
ret.push_back(ParamDesc("homogeneous_width")
.set_local_name(_("Homogeneous"))
+ .set_description(_("When checked the width takes the length of the spline to interpolate"))
);
return ret;
);
return ret;