From 337c51f149144c0844874ed20f71d780785c4127 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 5 Mar 2008 21:41:40 +0000 Subject: [PATCH] Don't let feather be negative for any Shape layers. git-svn-id: http://svn.voria.com/code@1858 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4