Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1434,6 +1434,7 @@ void Application::pasteVoxelsToOctalCode(const unsigned char* octalCodeDestinati · 1433 unmodified lines | ||
| 1434 | 1434 | args.newBaseOctCode = octalCodeDestination; |
| 1435 | 1435 | _sharedVoxelSystem.getTree()->recurseTreeWithOperation(sendVoxelsOperation, &args); |
| 1436 | 1436 | |
| 1437 | + // Switch back to clipboard if it was an import | |
| 1437 | 1438 | if (_sharedVoxelSystem.getTree() != &_clipboard) { |
| 1438 | 1439 | _sharedVoxelSystem.killLocalVoxels(); |
| 1439 | 1440 | _sharedVoxelSystem.changeTree(&_clipboard); |