removed harmless warnings
This commit is contained in:
parent
d7e9209a4f
commit
066762521a
|
@ -171,8 +171,6 @@ private:
|
|||
static bool CollapseBorderSmallEdgesStep(PolyMeshType &poly_m,
|
||||
const ScalarType edge_limit)
|
||||
{
|
||||
bool collapsed=false;
|
||||
|
||||
//update topology
|
||||
vcg::tri::UpdateTopology<PolyMeshType>::FaceFace(poly_m);
|
||||
|
||||
|
@ -440,8 +438,6 @@ public:
|
|||
ScalarType Damp=0.5,
|
||||
ScalarType angleDeg=100)
|
||||
{
|
||||
typedef typename TriMeshType::FaceType FaceType;
|
||||
|
||||
//first select corners
|
||||
vcg::tri::UpdateFlags<PolyMeshType>::VertexClearS(poly_m);
|
||||
|
||||
|
|
|
@ -681,7 +681,7 @@ namespace vcg {
|
|||
for(unsigned int j=0;j<indexedFaces[i].v.size();++j)
|
||||
{
|
||||
int vertInd = indexedFaces[i].v[j];
|
||||
assert(vertInd >=0 && vertInd < m.vn);
|
||||
assert(vertInd >=0 && vertInd < m.vn); (void)vertInd;
|
||||
m.face[i].V(j) = &(m.vert[indexedFaces[i].v[j]]);
|
||||
|
||||
if (((oi.mask & vcg::tri::io::Mask::IOM_WEDGTEXCOORD) != 0) && (HasPerWedgeTexCoord(m)))
|
||||
|
|
|
@ -171,7 +171,7 @@ int Outline2Dumper::getMaxMaskRadius(int x,int y,QImage &img)
|
|||
int Max_radius=std::min(Max_radiusX,Max_radiusY);
|
||||
int val=qGray(img.pixel(x,y));
|
||||
///if is outside
|
||||
assert(val!=255);
|
||||
assert(val!=255); (void)val;
|
||||
|
||||
int curr_radius=1;
|
||||
while (curr_radius<Max_radius)
|
||||
|
|
Loading…
Reference in New Issue