summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-06 23:00:54 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-06 23:00:54 +0000
commitfa5edb69fba0f3a482c9b4032ee4f208119b3f0d (patch)
treea138ba2d9f52f1bb0e3804e6ec7517bc2378dd6d /src
parent- enable path checking for SPCurve (diff)
downloadinkscape-fa5edb69fba0f3a482c9b4032ee4f208119b3f0d.tar.gz
inkscape-fa5edb69fba0f3a482c9b4032ee4f208119b3f0d.zip
disable SPCurve path checking per default as it decreases performance by a lot.
(bzr r5835)
Diffstat (limited to 'src')
-rw-r--r--src/display/curve.cpp2
1 files changed, 1 insertions, 1 deletions
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