projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't allow negative feather parameters for circles (or for the example 'filled rect...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_geometry
/
circle.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_geometry/circle.cpp
b/synfig-core/trunk/src/modules/mod_geometry/circle.cpp
index
4c38f45
..
db2983d
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_geometry/circle.cpp
+++ b/
synfig-core/trunk/src/modules/mod_geometry/circle.cpp
@@
-78,7
+78,7
@@
Circle::ImportParameters(const String ¶m, const ValueBase &value)
set_blend_method(Color::BLEND_ALPHA_OVER);
color.set_a(1); } else transparent_color_ = true; } });
IMPORT(radius);
- IMPORT
(feather
);
+ IMPORT
_PLUS(feather, if(feather<0)feather=0;
);
IMPORT(invert);
IMPORT(pos);
IMPORT(falloff);