From 992c98cfa8651ec0f72471e77eb64e0b85606c50 Mon Sep 17 00:00:00 2001 From: tTh Date: Fri, 28 Apr 2023 23:09:56 +0200 Subject: [PATCH] must be a cli opt ! --- tools/importobj.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/importobj.c b/tools/importobj.c index 4f5e9d4..0423756 100644 --- a/tools/importobj.c +++ b/tools/importobj.c @@ -22,6 +22,7 @@ extern int verbosity; /* --------------------------------------------------------------------- */ +#define PSYCHOTIK 1 #define LINE_SZ 666 static BBList *bublist; @@ -149,8 +150,11 @@ if ( pts[0]==pts[1] || pts[0]==pts[2] || pts[2]==pts[1] ) { for (ix=0; ix<3; ix++) { a = ix % 3; b = (ix+1) % 3; - // foo = push_a_missing_edge(edges, pts[a], pts[b]); +#if PSYCHOTIK + foo = push_a_missing_edge(edges, pts[a], pts[b]); +#else foo = push_an_edge(edges, pts[a], pts[b]); +#endif if (foo) { fprintf(stderr, "%s: disaster #%d line %d\n", __func__, foo, linenumber);