From 3dc21ec8dd15c46a317fc57c1a9a06fcda98fc0b Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Sat, 5 Mar 2011 12:52:57 -0800 Subject: [PATCH] Make oops() calls exit instead of entering debugger by default, since the latter looks worse if it happens to someone else. [git-p4: depot-paths = "//depot/solvespace/": change = 2187] --- solvespace.h | 2 +- wishlist.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/solvespace.h b/solvespace.h index d7ee852..e777780 100644 --- a/solvespace.h +++ b/solvespace.h @@ -4,7 +4,7 @@ // Debugging functions #define oops() do { dbp("oops at line %d, file %s", __LINE__, __FILE__); \ - if(1) *(char *)0 = 1; exit(-1); } while(0) + if(0) *(char *)0 = 1; exit(-1); } while(0) #ifndef min #define min(x, y) ((x) < (y) ? (x) : (y)) #endif diff --git a/wishlist.txt b/wishlist.txt index b7df74a..f9db34a 100644 --- a/wishlist.txt +++ b/wishlist.txt @@ -4,6 +4,7 @@ crude DXF, HPGL import a request to import a plane thing make export assemble only contours in same group rotation of model view works about z of first point under cursor +a way to kill a slow operation ----- rounding, as a special group