Don't let feather be negative for any Shape layers.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 5 Mar 2008 21:41:40 +0000 (21:41 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 5 Mar 2008 21:41:40 +0000 (21:41 +0000)
git-svn-id: http://svn.voria.com/code@1858 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/layer_shape.cpp

index e8f13a5..c24efb3 100644 (file)
@@ -1157,7 +1157,7 @@ Layer_Shape::set_param(const String & param, const ValueBase &value)
        IMPORT(offset);
        IMPORT(invert);
        IMPORT(antialias);
-       IMPORT(feather);
+       IMPORT_PLUS(feather, if(feather<0)feather=0;);
        IMPORT(blurtype);
        IMPORT(winding_style);