mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 23:43:18 +02:00
Added import tree to LocalVoxels
This commit is contained in:
parent
2ee7974fa8
commit
5b085a72cd
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <VoxelImporter.h>
|
||||
#include <Application.h>
|
||||
#include <LocalVoxelsList.h>
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QThreadPool>
|
||||
|
@ -31,6 +32,8 @@ VoxelImporter::VoxelImporter(QWidget* parent) :
|
|||
_task(NULL),
|
||||
_didImport(false)
|
||||
{
|
||||
LocalVoxelsList::getInstance()->addPersistantTree(IMPORT_TREE_NAME, &_voxelTree);
|
||||
|
||||
connect(&_voxelTree, SIGNAL(importProgress(int)), &_importDialog, SLOT(setProgressBarValue(int)));
|
||||
connect(&_importDialog, SIGNAL(canceled()), this, SLOT(cancel()));
|
||||
connect(&_importDialog, SIGNAL(accepted()), this, SLOT(import()));
|
||||
|
|
Loading…
Reference in a new issue