Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / stable / src / modules / mod_filter / halftone.cpp
index 4afacd0..8e8ba9e 100644 (file)
@@ -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());