Code

Merge from fe-moved
[inkscape.git] / src / display / nr-filter.cpp
index 31aec0748d0862a0d0b617c0f434c483824e8714..01a092177803688cda5fcc4f31389200e421404c 100644 (file)
@@ -136,7 +136,7 @@ int Filter::render(NRArenaItem const *item, NRPixBlock *pb)
     }
 
     Geom::Rect filter_area = filter_effect_area(item_bbox);
-    if (item_bbox.area() == 0.0) {
+    if (item_bbox.hasZeroArea()) {
         // It's no use to try and filter an empty object.
         return 1;
     }