Code

disable SPCurve path checking per default as it decreases performance by a lot.
authorjohanengelen <johanengelen@users.sourceforge.net>
Fri, 6 Jun 2008 23:00:54 +0000 (23:00 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Fri, 6 Jun 2008 23:00:54 +0000 (23:00 +0000)
src/display/curve.cpp

index d3322ea83fedac68dcff02ecc55f33a17ded63f0..1f1bd1147e5e68d55005d636de98f8c5674ad7db 100644 (file)
@@ -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