Fixed another instance of the bug which was causing the plant layer to break. When...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:31:50 +0000 (19:31 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:31:50 +0000 (19:31 +0000)
git-svn-id: http://svn.voria.com/code@623 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_noise/distort.cpp

index 4c8f871..45f3179 100644 (file)
@@ -84,7 +84,8 @@ NoiseDistort::color_func(const Point &point, float supersample,Context context)c
        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);