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
65 _falseColorizeBySource = false;65 _falseColorizeBySource = false;
66 _dataSourceID = UNKNOWN_NODE_ID;66 _dataSourceID = UNKNOWN_NODE_ID;
67 _voxelServerCount = 0;67 _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)));
68}71}
69 72
70void VoxelSystem::nodeDeleted(VoxelNode* node) {73void VoxelSystem::nodeDeleted(VoxelNode* node) {
@@ -994,6 +997,10 @@ public: · 923 unmodified lines
994 { }997 { }
995};998};
996 999
1000void VoxelSystem::cancelImport() {
1001 _tree->cancelImport();
1002}
1003
997// "Remove" voxels from the tree that are not in view. We don't actually delete them,1004// "Remove" voxels from the tree that are not in view. We don't actually delete them,
998// we remove them from the tree and place them into a holding area for later deletion1005// we remove them from the tree and place them into a holding area for later deletion
999bool VoxelSystem::removeOutOfViewOperation(VoxelNode* node, void* extraData) {1006bool VoxelSystem::removeOutOfViewOperation(VoxelNode* node, void* extraData) {