X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fexample%2Ffilledrect.cpp;h=3aec7d5ff67ab44689c8653c555ccb3fc8bb5338;hb=69dec3923341f50673aeb5a7d61aa0f7e1bf74e5;hp=21dbbe56b2d9a1144009aa926947bcf3ab842066;hpb=8ef042c40521681cea99944097c4f90a5ac6cf74;p=synfig.git diff --git a/synfig-core/trunk/src/modules/example/filledrect.cpp b/synfig-core/trunk/src/modules/example/filledrect.cpp index 21dbbe5..3aec7d5 100644 --- a/synfig-core/trunk/src/modules/example/filledrect.cpp +++ b/synfig-core/trunk/src/modules/example/filledrect.cpp @@ -1,6 +1,6 @@ /* === S Y N F I G ========================================================= */ /*! \file filledrect.cpp -** \brief Template Header +** \brief Implementation of the "Rectangle" layer ** ** $Id$ ** @@ -82,8 +82,8 @@ FilledRect::set_param(const String & param, const ValueBase &value) IMPORT(color); IMPORT(point1); IMPORT(point2); - IMPORT(feather_x); - IMPORT(feather_y); + IMPORT_PLUS(feather_x, if(feather_x<0)feather_x=0;); + IMPORT_PLUS(feather_y, if(feather_y<0)feather_y=0;); IMPORT(bevel); IMPORT(bevCircle);