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:
parent
dcfae0f341
commit
3dc21ec8dd
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
// Debugging functions
|
// Debugging functions
|
||||||
#define oops() do { dbp("oops at line %d, file %s", __LINE__, __FILE__); \
|
#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
|
#ifndef min
|
||||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,6 +4,7 @@ crude DXF, HPGL import
|
|||||||
a request to import a plane thing
|
a request to import a plane thing
|
||||||
make export assemble only contours in same group
|
make export assemble only contours in same group
|
||||||
rotation of model view works about z of first point under cursor
|
rotation of model view works about z of first point under cursor
|
||||||
|
a way to kill a slow operation
|
||||||
|
|
||||||
-----
|
-----
|
||||||
rounding, as a special group
|
rounding, as a special group
|
||||||
|
Loading…
Reference in New Issue
Block a user