removed floorshape warnings unless DF_GEOM

This commit is contained in:
Zeno Rogue 2023-02-21 18:54:14 +01:00
parent cf90d4e3c4
commit fa528e75d2
1 changed files with 2 additions and 2 deletions

View File

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