303 print ("OMGWTFBBQ weird polygon with number %1 (topobj: #%2, %3), origin: %4", |
303 print ("OMGWTFBBQ weird polygon with number %1 (topobj: #%2, %3), origin: %4", |
304 (int) poly.num, topobj->id(), topobj->typeName(), poly.origin); |
304 (int) poly.num, topobj->id(), topobj->typeName(), poly.origin); |
305 assert (false); |
305 assert (false); |
306 } |
306 } |
307 |
307 |
308 for (int complement = 0; complement < vboNumComplements; ++complement) |
308 for (int complement = 0; complement < VBOCM_NumComplements; ++complement) |
309 { |
309 { |
310 const int vbonum = vboNumber (surface, (EVBOComplement) complement); |
310 const int vbonum = vboNumber (surface, (EVBOComplement) complement); |
311 QVector<GLfloat>& vbodata = objinfo->data[vbonum]; |
311 QVector<GLfloat>& vbodata = objinfo->data[vbonum]; |
312 const QColor normalColor = polygonColor (poly, topobj); |
312 const QColor normalColor = polygonColor (poly, topobj); |
313 const QColor pickColor = indexColorForID (topobj->id()); |
313 const QColor pickColor = indexColorForID (topobj->id()); |