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
/
mod_noise
/
noise.cpp
diff --git
a/synfig-core/src/modules/mod_noise/noise.cpp
b/synfig-core/src/modules/mod_noise/noise.cpp
index
e4d5c3b
..
b433d1f
100644
(file)
--- a/
synfig-core/src/modules/mod_noise/noise.cpp
+++ b/
synfig-core/src/modules/mod_noise/noise.cpp
@@
-256,12
+256,15
@@
Noise::get_param_vocab()const
ret.push_back(ParamDesc("gradient")
.set_local_name(_("Gradient"))
ret.push_back(ParamDesc("gradient")
.set_local_name(_("Gradient"))
+ .set_description(_("Gradient to apply"))
);
ret.push_back(ParamDesc("seed")
.set_local_name(_("RandomNoise Seed"))
);
ret.push_back(ParamDesc("seed")
.set_local_name(_("RandomNoise Seed"))
+ .set_description(_("Change to modify the random seed of the noise"))
);
ret.push_back(ParamDesc("size")
.set_local_name(_("Size"))
);
ret.push_back(ParamDesc("size")
.set_local_name(_("Size"))
+ .set_description(_("Size of the noise"))
);
ret.push_back(ParamDesc("smooth")
.set_local_name(_("Interpolation"))
);
ret.push_back(ParamDesc("smooth")
.set_local_name(_("Interpolation"))
@@
-275,18
+278,23
@@
Noise::get_param_vocab()const
);
ret.push_back(ParamDesc("detail")
.set_local_name(_("Detail"))
);
ret.push_back(ParamDesc("detail")
.set_local_name(_("Detail"))
+ .set_description(_("Increase to obtain fine details of the noise"))
);
ret.push_back(ParamDesc("speed")
.set_local_name(_("Animation Speed"))
);
ret.push_back(ParamDesc("speed")
.set_local_name(_("Animation Speed"))
+ .set_description(_("In cycles per second"))
);
ret.push_back(ParamDesc("turbulent")
.set_local_name(_("Turbulent"))
);
ret.push_back(ParamDesc("turbulent")
.set_local_name(_("Turbulent"))
+ .set_description(_("When checked produces turbulent noise"))
);
ret.push_back(ParamDesc("do_alpha")
.set_local_name(_("Do Alpha"))
);
ret.push_back(ParamDesc("do_alpha")
.set_local_name(_("Do Alpha"))
+ .set_description(_("Uses transparency"))
);
ret.push_back(ParamDesc("super_sample")
.set_local_name(_("Super Sampling"))
);
ret.push_back(ParamDesc("super_sample")
.set_local_name(_("Super Sampling"))
+ .set_description(_("When checked the gradient is supersampled"))
);
return ret;
);
return ret;