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]
This commit is contained in:
Jonathan Westhues 2011-03-05 12:52:57 -08:00
parent dcfae0f341
commit 3dc21ec8dd
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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