History

removed pthread.h

Brad Hefta-Gaub committed 12 years ago

Commit 7bfda0d1 parent 0df826b2 files · +6 −8Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+3−4
@@ -11,7 +11,6 @@ · 10 unmodified lines
1111 #include <cmath>
1212 #include <iostream> // to load voxels from file
1313 #include <fstream> // to load voxels from file
14−#include <pthread.h>
1514
1615 #include <OctalCode.h>
1716 #include <PacketHeaders.h>
@@ -1594,13 +1593,13 @@ void VoxelSystem::falseColorizeBySource() { · 1576 unmodified lines
15941593 };
15951594
15961595 // create a bunch of colors we'll use during colorization
1597−
1596+
15981597 foreach (const SharedNodePointer& node, NodeList::getInstance()->getNodeHash()) {
15991598 if (node->getType() == NODE_TYPE_VOXEL_SERVER) {
16001599 uint16_t nodeID = VoxelTreeElement::getSourceNodeUUIDKey(node->getUUID());
16011600 int groupColor = voxelServerCount % NUMBER_OF_COLOR_GROUPS;
16021601 args.colors[nodeID] = groupColors[groupColor];
1603−
1602+
16041603 if (groupColors[groupColor].red > 0) {
16051604 groupColors[groupColor].red = ((groupColors[groupColor].red - MIN_COLOR)/2) + MIN_COLOR;
16061605 }
@@ -1610,7 +1609,7 @@ void VoxelSystem::falseColorizeBySource() { · 3 unmodified lines
16101609 if (groupColors[groupColor].blue > 0) {
16111610 groupColors[groupColor].blue = ((groupColors[groupColor].blue - MIN_COLOR)/2) + MIN_COLOR;
16121611 }
1613−
1612+
16141613 voxelServerCount++;
16151614 }
16161615 }