From fa528e75d257323014c6cb447c441d3f3dde027c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 21 Feb 2023 18:54:14 +0100 Subject: [PATCH] removed floorshape warnings unless DF_GEOM --- floorshapes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/floorshapes.cpp b/floorshapes.cpp index 5b6202b8..76434e61 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -227,7 +227,7 @@ void geometry_information::bshape2(hpcshape& sh, PPR prio, int shapeid, matrixli T = spin(m.o.bspi) * T; for(auto &pp: lst) pp = T * pp; - if(osym % rots && rots % osym) printf("warning: rotation oddity (shapeid %d, osym=%d rots=%d)\n", shapeid, osym, rots); + if(osym % rots && rots % osym && (debugflags & DF_GEOM)) printf("warning: rotation oddity (shapeid %d, osym=%d rots=%d)\n", shapeid, osym, rots); if(rots > osym && rots % osym == 0) { int rep = rots / osym; @@ -255,7 +255,7 @@ void geometry_information::bshape2(hpcshape& sh, PPR prio, int shapeid, matrixli nh = m.second[r] * z, mapped++; } } - if(mapped == 0) printf("warning: not mapped (shapeid %d)\n", shapeid); + if(mapped == 0 && (debugflags & DF_GEOM)) printf("warning: not mapped (shapeid %d)\n", shapeid); if(invalid) { apeirogonal = true; for(auto h: head) tail.push_back(h);