History

foreach spacing and reference repairs

Stephen Birarda committed 12 years ago

Commit 8676ac31 parent fa0138313 files · +37 −37Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -1605,7 +1605,7 @@ void VoxelSystem::falseColorizeBySource() { · 1604 unmodified lines
1605 1605
1606 // create a bunch of colors we'll use during colorization1606 // create a bunch of colors we'll use during colorization
1607 1607
1608 foreach(SharedNodePointer node, NodeList::getInstance()->getNodeHash()) {1608 foreach (const SharedNodePointer& node, NodeList::getInstance()->getNodeHash()) {
1609 if (node->getType() == NODE_TYPE_VOXEL_SERVER) {1609 if (node->getType() == NODE_TYPE_VOXEL_SERVER) {
1610 uint16_t nodeID = VoxelTreeElement::getSourceNodeUUIDKey(node->getUUID());1610 uint16_t nodeID = VoxelTreeElement::getSourceNodeUUIDKey(node->getUUID());
1611 int groupColor = voxelServerCount % NUMBER_OF_COLOR_GROUPS;1611 int groupColor = voxelServerCount % NUMBER_OF_COLOR_GROUPS;