projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1794374 for 'repeat gradient' valuenodes.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_noise
/
distort.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_noise/distort.cpp
b/synfig-core/trunk/src/modules/mod_noise/distort.cpp
index
4c8f871
..
837189e
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_noise/distort.cpp
+++ b/
synfig-core/trunk/src/modules/mod_noise/distort.cpp
@@
-74,7
+74,7
@@
NoiseDistort::NoiseDistort():
}
inline Color
}
inline Color
-NoiseDistort::color_func(const Point &point, float
supersample
,Context context)const
+NoiseDistort::color_func(const Point &point, float
/*supersample*/
,Context context)const
{
Color ret(0,0,0,0);
{
Color ret(0,0,0,0);
@@
-84,7
+84,8
@@
NoiseDistort::color_func(const Point &point, float supersample,Context context)c
int i;
Time time;
time=speed*curr_time;
int i;
Time time;
time=speed*curr_time;
- int smooth((!speed && smooth==3)?5:smooth);
+ int temp_smooth(smooth);
+ int smooth((!speed && temp_smooth==3)?5:temp_smooth);
{
Vector vect(0,0);
{
Vector vect(0,0);
@@
-120,7
+121,7
@@
NoiseDistort::color_func(const Point &point, float supersample,Context context)c
}
inline float
}
inline float
-NoiseDistort::calc_supersample(const synfig::Point &
x, float pw,float ph
)const
+NoiseDistort::calc_supersample(const synfig::Point &
/*x*/, float /*pw*/,float /*ph*/
)const
{
return 0.0f;
}
{
return 0.0f;
}