From: buliabyak Date: Mon, 7 Apr 2008 00:57:08 +0000 (+0000) Subject: revert last change: svg spec says that even one zero dimension suppresses rendering... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=840a66ef87caf72730e5ecc3085d85aabaace025;p=inkscape.git revert last change: svg spec says that even one zero dimension suppresses rendering, so this change will need to wait until we switch SPRect to using path --- diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp index 2428af12e..55d2a3fde 100644 --- a/src/sp-rect.cpp +++ b/src/sp-rect.cpp @@ -249,7 +249,7 @@ sp_rect_set_shape(SPShape *shape) { SPRect *rect = (SPRect *) shape; - if ((rect->height.computed < 1e-18) && (rect->width.computed < 1e-18)) { + if ((rect->height.computed < 1e-18) || (rect->width.computed < 1e-18)) { sp_shape_set_curve_insync(SP_SHAPE(rect), NULL, TRUE); return; }