From: dooglus Date: Wed, 5 Mar 2008 21:41:40 +0000 (+0000) Subject: Don't let feather be negative for any Shape layers. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=337c51f149144c0844874ed20f71d780785c4127;p=synfig.git Don't let feather be negative for any Shape layers. git-svn-id: http://svn.voria.com/code@1858 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/layer_shape.cpp b/synfig-core/trunk/src/synfig/layer_shape.cpp index e8f13a5..c24efb3 100644 --- a/synfig-core/trunk/src/synfig/layer_shape.cpp +++ b/synfig-core/trunk/src/synfig/layer_shape.cpp @@ -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);