X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_particle%2Fplant.cpp;h=47b13a3e61a5c40d5e0bbc07383dfa5234ba2a63;hb=69dec3923341f50673aeb5a7d61aa0f7e1bf74e5;hp=a7df9260f35a4b8b30b597053273473fd9ba87d1;hpb=45d32acc437f1ea60269d51bbbb97845cee2dfc9;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_particle/plant.cpp b/synfig-core/trunk/src/modules/mod_particle/plant.cpp index a7df926..47b13a3 100644 --- a/synfig-core/trunk/src/modules/mod_particle/plant.cpp +++ b/synfig-core/trunk/src/modules/mod_particle/plant.cpp @@ -313,6 +313,7 @@ Plant::set_param(const String & param, const ValueBase &value) IMPORT(size); IMPORT(size_as_alpha); IMPORT(reverse); + IMPORT(use_width); IMPORT_AS(origin,"offset"); @@ -361,9 +362,9 @@ Plant::get_param(const String& param)const EXPORT(random_factor); EXPORT(drag); EXPORT(size); - EXPORT(size_as_alpha); EXPORT(reverse); + EXPORT(use_width); EXPORT_NAME(); @@ -461,6 +462,11 @@ Plant::get_param_vocab()const .set_description(_("Drag slows the growth")) ); + ret.push_back(ParamDesc("use_width") + .set_local_name(_("Use Width")) + .set_description(_("Scale the velocity by the bline's width")) + ); + return ret; }