diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-06 23:00:54 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-06 23:00:54 +0000 |
| commit | fa5edb69fba0f3a482c9b4032ee4f208119b3f0d (patch) | |
| tree | a138ba2d9f52f1bb0e3804e6ec7517bc2378dd6d /src/display/curve.cpp | |
| parent | - enable path checking for SPCurve (diff) | |
| download | inkscape-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/display/curve.cpp')
| -rw-r--r-- | src/display/curve.cpp | 2 |
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 |
