projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename ValueBase::same_as() to ValueBase::same_type_as(), since it compares types...
[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
6dbd106
..
b5f0158
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_particle/plant.cpp
+++ b/
synfig-core/trunk/src/modules/mod_particle/plant.cpp
@@
-251,7
+251,7
@@
Plant::set_param(const String & param, const ValueBase &value)
return true;
}
- if(param=="seed" && value.same_as(int()))
+ if(param=="seed" && value.same_
type_
as(int()))
{
random.set_seed(value.get(int()));
needs_sync_=true;