From: johanengelen Date: Fri, 6 Jun 2008 23:00:54 +0000 (+0000) Subject: disable SPCurve path checking per default as it decreases performance by a lot. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=93ae2f7dd442dd552d47dea8e2fb7e64dab919bb;p=inkscape.git disable SPCurve path checking per default as it decreases performance by a lot. --- diff --git a/src/display/curve.cpp b/src/display/curve.cpp index d3322ea83..1f1bd1147 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -37,7 +37,7 @@ static unsigned sp_bpath_length(NArtBpath const bpath[]); static bool sp_bpath_closed(NArtBpath const bpath[]); -// #define NO_CHECKS // define this to disable the warnings about unequal paths in SPCurve +#define NO_CHECKS // define this to disable the checking for unequal paths in SPCurve, improves performance by a lot! static void debug_out( char const * text, Geom::PathVector const & pathv) { #ifndef NO_CHECKS