From 93ae2f7dd442dd552d47dea8e2fb7e64dab919bb Mon Sep 17 00:00:00 2001 From: johanengelen Date: Fri, 6 Jun 2008 23:00:54 +0000 Subject: [PATCH] disable SPCurve path checking per default as it decreases performance by a lot. --- src/display/curve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2