History

next round of voxelnode size improvements

ZappoMan committed 13 years ago

Commit 6fff53a1 parent 9800dc010 files · +149 −57Browse files

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

Unified · Split

interface/src/Application.cpp+2−2
@@ -1392,13 +1392,13 @@ void Application::increaseVoxelSize() { · 1391 unmodified lines
13921392
13931393 const int MAXIMUM_EDIT_VOXEL_MESSAGE_SIZE = 1500;
13941394 struct SendVoxelsOperationArgs {
1395− unsigned char* newBaseOctCode;
1395+ const unsigned char* newBaseOctCode;
13961396 };
13971397
13981398 bool Application::sendVoxelsOperation(VoxelNode* node, void* extraData) {
13991399 SendVoxelsOperationArgs* args = (SendVoxelsOperationArgs*)extraData;
14001400 if (node->isColored()) {
1401− unsigned char* nodeOctalCode = node->getOctalCode();
1401+ const unsigned char* nodeOctalCode = node->getOctalCode();
14021402
14031403 unsigned char* codeColorBuffer = NULL;
14041404 int codeLength = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t