X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Fhalftone2.cpp;h=b8977a961f30fed3fc229c861c5737b08a5e17a8;hb=c0250d28ac7fa975aa235cafe9b3fc7494cd5c96;hp=202e71967aa9a6f412be4a64daf62c119e49fb20;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp b/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp index 202e719..b8977a9 100644 --- a/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp @@ -53,7 +53,7 @@ using namespace etl; SYNFIG_LAYER_INIT(Halftone2); SYNFIG_LAYER_SET_NAME(Halftone2,"halftone2"); -SYNFIG_LAYER_SET_LOCAL_NAME(Halftone2,_("Halftone2")); +SYNFIG_LAYER_SET_LOCAL_NAME(Halftone2,_("Halftone 2")); SYNFIG_LAYER_SET_CATEGORY(Halftone2,_("Filters")); SYNFIG_LAYER_SET_VERSION(Halftone2,"0.0"); SYNFIG_LAYER_SET_CVS_ID(Halftone2,"$Id$"); @@ -93,13 +93,13 @@ Halftone2::color_func(const Point &point, float supersample,const Color& color)c } inline float -Halftone2::calc_supersample(const synfig::Point &x, float pw,float ph)const +Halftone2::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const { return abs(pw/(halftone.size).mag()); } synfig::Layer::Handle -Halftone2::hit_check(synfig::Context context, const synfig::Point &point)const +Halftone2::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const { return const_cast(this); }