History

Dialogbox for import fully functionnal

atlante45 committed 13 years ago

Commit 24531fd1 parent b41575912 files · +270 −81Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+7−0
@@ -65,6 +65,9 @@ VoxelSystem::VoxelSystem(float treeScale, int maxVoxels) : · 64 unmodified lines
6565 _falseColorizeBySource = false;
6666 _dataSourceID = UNKNOWN_NODE_ID;
6767 _voxelServerCount = 0;
68+
69+ connect(_tree, SIGNAL(importSize(float,float,float)), SIGNAL(importSize(float,float,float)));
70+ connect(_tree, SIGNAL(importProgress(int)), SIGNAL(importProgress(int)));
6871 }
6972
7073 void VoxelSystem::nodeDeleted(VoxelNode* node) {
@@ -994,6 +997,10 @@ public: · 923 unmodified lines
994997 { }
995998 };
996999
1000+void VoxelSystem::cancelImport() {
1001+ _tree->cancelImport();
1002+}
1003+
9971004 // "Remove" voxels from the tree that are not in view. We don't actually delete them,
9981005 // we remove them from the tree and place them into a holding area for later deletion
9991006 bool VoxelSystem::removeOutOfViewOperation(VoxelNode* node, void* extraData) {