Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1476,10 +1476,10 @@ void Application::importVoxels() { · 1475 unmodified lines | |||
| 1476 | } | 1476 | } |
| 1477 | 1477 | ||
| 1478 | if (!_voxelImporter->exec()) { | 1478 | if (!_voxelImporter->exec()) { |
| 1479 | qDebug() << "[DEBUG] Import succeeded." << endl; | 1479 | qDebug() << "Import succeeded." << endl; |
| 1480 | _importSucceded = true; | 1480 | _importSucceded = true; |
| 1481 | } else { | 1481 | } else { |
| 1482 | qDebug() << "[DEBUG] Import failed." << endl; | 1482 | qDebug() << "Import failed." << endl; |
| 1483 | if (_sharedVoxelSystem.getTree() == _voxelImporter->getVoxelTree()) { | 1483 | if (_sharedVoxelSystem.getTree() == _voxelImporter->getVoxelTree()) { |
| 1484 | _sharedVoxelSystem.killLocalVoxels(); | 1484 | _sharedVoxelSystem.killLocalVoxels(); |
| 1485 | _sharedVoxelSystem.changeTree(&_clipboard); | 1485 | _sharedVoxelSystem.changeTree(&_clipboard); |