diff --git a/drawing.cpp b/drawing.cpp index b60229ea..21f11d8d 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -1386,7 +1386,12 @@ EX namespace ods { void dqi_poly::draw() { if(flags & POLY_DEBUG) debug_this(); - + if(debugflags & DF_VERTEX) { + println(hlog, tie(band_shift, V, offset, cnt, offset_texture, outline, linewidth, flags, intester, cache), (cell*) tinf); + for(int i=0; iprio == PPR::OUTCIRCLE) ptd->draw(); if(two_sided_model()) draw_backside(); for(auto& ptd: ptds) if(ptd->prio != PPR::OUTCIRCLE) { + DEBBI(DF_VERTEX, ("prio: ", int(ptd->prio), " color ", ptd->color)); dynamicval ss(spherespecial, among(ptd->prio, PPR::MOBILE_ARROW, PPR::OUTCIRCLE, PPR::CIRCLE) ? 0 : spherespecial); ptd->draw(); } diff --git a/hprint.cpp b/hprint.cpp index 65f1b1a0..e69a1b4b 100644 --- a/hprint.cpp +++ b/hprint.cpp @@ -25,7 +25,8 @@ EX FILE *debugfile; #define DF_GP 2048 #define DF_POLY 4096 #define DF_LOG 8192 -#define DF_KEYS "imwesxufgbtopl" +#define DF_VERTEX 16384 +#define DF_KEYS "imwesxufgbtoplv" #endif EX int debugflags = DF_INIT | DF_ERROR | DF_WARN | DF_MSG | DF_TIME | DF_LOG;