NO_QT defines to explicitly disable qt dependant behavior
This commit is contained in:
parent
2631ae5351
commit
499822bc17
|
@ -286,8 +286,11 @@ template <class OLD_MESH_TYPE,class NEW_MESH_TYPE, class FLT, class DISTFUNCTOR
|
||||||
flippedTimes++;
|
flippedTimes++;
|
||||||
} while(flippedCnt>0);
|
} while(flippedCnt>0);
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef NO_QT
|
||||||
if(flippedTot>0)
|
if(flippedTot>0)
|
||||||
qDebug("Flipped %i values in %i times",flippedTot,flippedTimes);
|
qDebug("Flipped %i values in %i times",flippedTot,flippedTimes);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
template<class EXTRACTOR_TYPE>
|
template<class EXTRACTOR_TYPE>
|
||||||
void ProcessSlice(EXTRACTOR_TYPE &extractor)
|
void ProcessSlice(EXTRACTOR_TYPE &extractor)
|
||||||
|
@ -343,8 +346,9 @@ template <class OLD_MESH_TYPE,class NEW_MESH_TYPE, class FLT, class DISTFUNCTOR
|
||||||
extractTime += t2-t1;
|
extractTime += t2-t1;
|
||||||
}
|
}
|
||||||
extractor.Finalize();
|
extractor.Finalize();
|
||||||
|
#ifndef NO_QT
|
||||||
qDebug("Extract %i, Compute %i",t1-t0,t2-t1);
|
qDebug("Extract %i, Compute %i",t1-t0,t2-t1);
|
||||||
|
#endif
|
||||||
typename New_Mesh::VertexIterator vi;
|
typename New_Mesh::VertexIterator vi;
|
||||||
for(vi=new_mesh.vert.begin();vi!=new_mesh.vert.end();++vi)
|
for(vi=new_mesh.vert.begin();vi!=new_mesh.vert.end();++vi)
|
||||||
if(!(*vi).IsD())
|
if(!(*vi).IsD())
|
||||||
|
|
Loading…
Reference in New Issue