Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -863,14 +863,15 @@ void VoxelSystem::falseColorizeBySource() { · 862 unmodified lines | ||
| 863 | 863 | const int NUMBER_OF_COLOR_GROUPS = 6; |
| 864 | 864 | const unsigned char MIN_COLOR = 128; |
| 865 | 865 | int voxelServerCount = 0; |
| 866 | − groupColor groupColors[NUMBER_OF_COLOR_GROUPS] = { groupColor(255, 0, 0), | |
| 867 | − groupColor( 0, 255, 0), | |
| 868 | − groupColor( 0, 0, 255), | |
| 869 | − groupColor(255, 0, 255), | |
| 870 | − groupColor( 0, 255, 255), | |
| 871 | − groupColor(255, 255, 255) | |
| 872 | − }; | |
| 873 | − | |
| 866 | + groupColor groupColors[NUMBER_OF_COLOR_GROUPS] = { | |
| 867 | + groupColor(255, 0, 0), | |
| 868 | + groupColor( 0, 255, 0), | |
| 869 | + groupColor( 0, 0, 255), | |
| 870 | + groupColor(255, 0, 255), | |
| 871 | + groupColor( 0, 255, 255), | |
| 872 | + groupColor(255, 255, 255) | |
| 873 | + }; | |
| 874 | + | |
| 874 | 875 | // create a bunch of colors we'll use during colorization |
| 875 | 876 | NodeList* nodeList = NodeList::getInstance(); |
| 876 | 877 | for (NodeList::iterator node = nodeList->begin(); node != nodeList->end(); node++) { |