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_noise
/
noise.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_noise/noise.cpp
b/synfig-core/trunk/src/modules/mod_noise/noise.cpp
index
ce9852c
..
c3e1e5e
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_noise/noise.cpp
+++ b/
synfig-core/trunk/src/modules/mod_noise/noise.cpp
@@
-203,7
+203,7
@@
Noise::hit_check(synfig::Context context, const synfig::Point &point)const
bool
Noise::set_param(const String & param, const ValueBase &value)
{
- if(param=="seed" && value.same_as(int()))
+ if(param=="seed" && value.same_
type_
as(int()))
{
random.set_seed(value.get(int()));
return true;