projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't show the 'Convert' sub-menu for Duplicate ValueNodes in the Children dialog.
[synfig.git]
/
synfig-core
/
tags
/
stable
/
src
/
modules
/
mod_noise
/
noise.cpp
diff --git
a/synfig-core/tags/stable/src/modules/mod_noise/noise.cpp
b/synfig-core/tags/stable/src/modules/mod_noise/noise.cpp
index
ce9852c
..
797c430
100644
(file)
--- a/
synfig-core/tags/stable/src/modules/mod_noise/noise.cpp
+++ b/
synfig-core/tags/stable/src/modules/mod_noise/noise.cpp
@@
-79,7
+79,7
@@
Noise::Noise():
inline Color
inline Color
-Noise::color_func(const Point &point, float pixel_size,Context
context
)const
+Noise::color_func(const Point &point, float pixel_size,Context
/*context*/
)const
{
Color ret(0,0,0,0);
{
Color ret(0,0,0,0);
@@
-169,7
+169,7
@@
Noise::color_func(const Point &point, float pixel_size,Context context)const
}
inline float
}
inline float
-Noise::calc_supersample(const synfig::Point &
x, float pw,float ph
)const
+Noise::calc_supersample(const synfig::Point &
/*x*/, float /*pw*/,float /*ph*/
)const
{
return 0.0f;
}
{
return 0.0f;
}
@@
-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)
{
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;
{
random.set_seed(value.get(int()));
return true;