summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/drawing-item.cpp')
-rw-r--r--src/display/drawing-item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp
index a5496e999..3fe56b6de 100644
--- a/src/display/drawing-item.cpp
+++ b/src/display/drawing-item.cpp
@@ -176,7 +176,7 @@ DrawingItem::setTransform(Geom::Affine const &new_trans)
current = *_transform;
}
- if (!Geom::are_near(current, new_trans, NR_EPSILON)) {
+ if (!Geom::are_near(current, new_trans, 1e-18)) {
// mark the area where the object was for redraw.
_markForRendering();
if (new_trans.isIdentity()) {
@@ -456,7 +456,7 @@ DrawingItem::render(DrawingContext &ct, Geom::IntRect const &area, unsigned flag
// If we are invisible, return immediately
if (!_visible) return RENDER_OK;
- if (_ctm.isSingular(NR_EPSILON)) return RENDER_OK;
+ if (_ctm.isSingular(1e-18)) return RENDER_OK;
// TODO convert outline rendering to a separate virtual function
if (outline) {