X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fmodules%2Fmod_filter%2Fhalftone.cpp;h=8e8ba9e7b3a5309b8887f1710332e1564a8da754;hb=47fce282611fbba1044921d22ca887f9b53ad91a;hp=4afacd02cc9c1a95a9853de0215c499f8fae3c76;hpb=20067bb96af6946754e7ecb7b40673b818f6e5c2;p=synfig.git diff --git a/synfig-core/tags/stable/src/modules/mod_filter/halftone.cpp b/synfig-core/tags/stable/src/modules/mod_filter/halftone.cpp index 4afacd0..8e8ba9e 100644 --- a/synfig-core/tags/stable/src/modules/mod_filter/halftone.cpp +++ b/synfig-core/tags/stable/src/modules/mod_filter/halftone.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -88,7 +89,7 @@ Halftone::mask(synfig::Point point)const float radius1; float radius2; - point-=offset; + point-=origin; { const float a(Angle::sin(-angle).get()), b(Angle::cos(-angle).get());