From cb43b0dea1991dbc7562b64cbf95cfc0dbd6c1fd Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Sat, 23 Nov 2013 15:10:03 -0800 Subject: [PATCH] cleaned up some comments and code --- libraries/voxels/src/VoxelTree.cpp | 2 -- voxel-edit/src/main.cpp | 4 ---- 2 files changed, 6 deletions(-) diff --git a/libraries/voxels/src/VoxelTree.cpp b/libraries/voxels/src/VoxelTree.cpp index 8acfac7318..348e6a1899 100644 --- a/libraries/voxels/src/VoxelTree.cpp +++ b/libraries/voxels/src/VoxelTree.cpp @@ -1832,7 +1832,6 @@ void VoxelTree::writeToSVOFile(const char* fileName, VoxelNode* node) { // and reinsert the node in our bag and try again... if (bytesWritten == 0) { if (packet.hasContent()) { - printf("writeToSVOFile()... WRITING %d bytes...\n", packet.getFinalizedSize()); file.write((const char*)packet.getFinalizedData(), packet.getFinalizedSize()); lastPacketWritten = true; } @@ -1844,7 +1843,6 @@ void VoxelTree::writeToSVOFile(const char* fileName, VoxelNode* node) { } if (!lastPacketWritten) { - printf("writeToSVOFile()... END OF LOOP WRITING %d bytes...\n", packet.getFinalizedSize()); file.write((const char*)packet.getFinalizedData(), packet.getFinalizedSize()); } diff --git a/voxel-edit/src/main.cpp b/voxel-edit/src/main.cpp index e24638389a..5f67a46163 100644 --- a/voxel-edit/src/main.cpp +++ b/voxel-edit/src/main.cpp @@ -45,7 +45,6 @@ void voxelTutorial(VoxelTree * tree) { node->getColor()[0], node->getColor()[1], node->getColor()[2]); } - /*** // here's an example of how to delete a voxel printf("attempting to delete corner point 0,0,0\n"); tree->deleteVoxelAt(0, 0, 0, voxelSize); @@ -56,7 +55,6 @@ void voxelTutorial(VoxelTree * tree) { } else { printf("corner point 0,0,0 does not exists...\n"); } - ***/ } @@ -352,9 +350,7 @@ int main(int argc, const char * argv[]) unsigned long nodeCount = myTree.getVoxelCount(); printf("Nodes after adding scenes: %ld nodes\n", nodeCount); - printf("BEFORE writeToSVOFile()\n"); myTree.writeToSVOFile("voxels.svo"); - printf("AFTER writeToSVOFile()\n"); } return 0;