Showing the changes to interface/src/Application.cpp (1 of 10 files). Show all
Unified · Split
| @@ -1392,13 +1392,13 @@ void Application::increaseVoxelSize() { · 1391 unmodified lines | ||
| 1392 | 1392 | |
| 1393 | 1393 | const int MAXIMUM_EDIT_VOXEL_MESSAGE_SIZE = 1500; |
| 1394 | 1394 | struct SendVoxelsOperationArgs { |
| 1395 | − unsigned char* newBaseOctCode; | |
| 1395 | + const unsigned char* newBaseOctCode; | |
| 1396 | 1396 | }; |
| 1397 | 1397 | |
| 1398 | 1398 | bool Application::sendVoxelsOperation(VoxelNode* node, void* extraData) { |
| 1399 | 1399 | SendVoxelsOperationArgs* args = (SendVoxelsOperationArgs*)extraData; |
| 1400 | 1400 | if (node->isColored()) { |
| 1401 | − unsigned char* nodeOctalCode = node->getOctalCode(); | |
| 1401 | + const unsigned char* nodeOctalCode = node->getOctalCode(); | |
| 1402 | 1402 | |
| 1403 | 1403 | unsigned char* codeColorBuffer = NULL; |
| 1404 | 1404 | int codeLength = 0; |