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
1392 1392
1393const int MAXIMUM_EDIT_VOXEL_MESSAGE_SIZE = 1500;1393const int MAXIMUM_EDIT_VOXEL_MESSAGE_SIZE = 1500;
1394struct SendVoxelsOperationArgs {1394struct SendVoxelsOperationArgs {
1395 unsigned char* newBaseOctCode;1395 const unsigned char* newBaseOctCode;
1396};1396};
1397 1397
1398bool Application::sendVoxelsOperation(VoxelNode* node, void* extraData) {1398bool Application::sendVoxelsOperation(VoxelNode* node, void* extraData) {
1399 SendVoxelsOperationArgs* args = (SendVoxelsOperationArgs*)extraData;1399 SendVoxelsOperationArgs* args = (SendVoxelsOperationArgs*)extraData;
1400 if (node->isColored()) {1400 if (node->isColored()) {
1401 unsigned char* nodeOctalCode = node->getOctalCode();1401 const unsigned char* nodeOctalCode = node->getOctalCode();
1402 1402
1403 unsigned char* codeColorBuffer = NULL;1403 unsigned char* codeColorBuffer = NULL;
1404 int codeLength = 0;1404 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