removed some debug

This commit is contained in:
ZappoMan 2014-03-03 13:57:05 -08:00
parent 98bf85173a
commit 3684359c5f

View file

@ -1482,12 +1482,10 @@ void Octree::writeToSVOFile(const char* fileName, OctreeElement* node) {
while (!nodeBag.isEmpty()) {
OctreeElement* subTree = nodeBag.extract();
qDebug() << "waiting to lockForRead() to encode() for writeSVO...";
lockForRead(); // do tree locking down here so that we have shorter slices and less thread contention
EncodeBitstreamParams params(INT_MAX, IGNORE_VIEW_FRUSTUM, WANT_COLOR, NO_EXISTS_BITS);
bytesWritten = encodeTreeBitstream(subTree, &packetData, nodeBag, params);
unlock();
qDebug() << "unlock() after encode() for writeSVO...";
// if the subTree couldn't fit, and so we should reset the packet and reinsert the node in our bag and try again...
if (bytesWritten == 0 && (params.stopReason == EncodeBitstreamParams::DIDNT_FIT)) {