diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-08-04 23:56:47 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-08-04 23:56:47 +0000 |
| commit | 498629f82d9453cb7222ab642b867c183fdf1666 (patch) | |
| tree | 33bb4b8bffc1f67c2167d393e928aee743fdce9d /src/sp-mask.cpp | |
| parent | Fix artifacts in Gaussian blur and other filters inadvertently (diff) | |
| download | inkscape-498629f82d9453cb7222ab642b867c183fdf1666.tar.gz inkscape-498629f82d9453cb7222ab642b867c183fdf1666.zip | |
Wholesale cruft removal part 3
(bzr r9508.1.47)
Diffstat (limited to 'src/sp-mask.cpp')
| -rw-r--r-- | src/sp-mask.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-mask.cpp b/src/sp-mask.cpp index 4c9e4aa99..cc4d72936 100644 --- a/src/sp-mask.cpp +++ b/src/sp-mask.cpp @@ -358,10 +358,10 @@ sp_mask_set_bbox (SPMask *mask, unsigned int key, NRRect *bbox) { for (SPMaskView *v = mask->display; v != NULL; v = v->next) { if (v->key == key) { - if (!NR_DF_TEST_CLOSE (v->bbox.x0, bbox->x0, NR_EPSILON) || - !NR_DF_TEST_CLOSE (v->bbox.y0, bbox->y0, NR_EPSILON) || - !NR_DF_TEST_CLOSE (v->bbox.x1, bbox->x1, NR_EPSILON) || - !NR_DF_TEST_CLOSE (v->bbox.y1, bbox->y1, NR_EPSILON)) { + if (!Geom::are_near(v->bbox.x0, bbox->x0) || + !Geom::are_near(v->bbox.y0, bbox->y0) || + !Geom::are_near(v->bbox.x1, bbox->x1) || + !Geom::are_near(v->bbox.y1, bbox->y1)) { v->bbox = *bbox; } break; |
