projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 2412072: don't remove a node from the parent set of a linkable valuenode when...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_particle
/
plant.cpp
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
(file)
--- 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(size);
IMPORT(size_as_alpha);
IMPORT(reverse);
+ IMPORT(use_width);
IMPORT_AS(origin,"offset");
IMPORT_AS(origin,"offset");
@@
-361,9
+362,9
@@
Plant::get_param(const String& param)const
EXPORT(random_factor);
EXPORT(drag);
EXPORT(size);
EXPORT(random_factor);
EXPORT(drag);
EXPORT(size);
-
EXPORT(size_as_alpha);
EXPORT(reverse);
EXPORT(size_as_alpha);
EXPORT(reverse);
+ EXPORT(use_width);
EXPORT_NAME();
EXPORT_NAME();
@@
-461,6
+462,11
@@
Plant::get_param_vocab()const
.set_description(_("Drag slows the growth"))
);
.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;
}
return ret;
}