mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-17 01:32:08 +02:00
Fixed typo
This commit is contained in:
parent
b854c450f4
commit
20b921f4f8
2 changed files with 3 additions and 2 deletions
|
@ -35,7 +35,7 @@ StrongVoxelTreePointer LocalVoxelsList::getTree(QString treeName) {
|
|||
|
||||
void LocalVoxelsList::addPersistantTree(QString treeName, VoxelTree* tree) {
|
||||
StrongVoxelTreePointer treePtr(tree, doNothing);
|
||||
_persistantTree.push_back(treePtr);
|
||||
_persistantTrees.push_back(treePtr);
|
||||
_trees.insert(treeName, treePtr);
|
||||
qDebug() << "[DEBUG] LocalVoxelsList : added persistant tree (" << treeName << ")" << endl;
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ typedef QWeakPointer<VoxelTree> WeakVoxelTreePointer;
|
|||
|
||||
static const QString DOMAIN_TREE_NAME = "domain";
|
||||
static const QString CLIPBOARD_TREE_NAME = "clipboard";
|
||||
static const QString IMPORT_TREE_NAME = "import";
|
||||
|
||||
/// Handles the the storage and cleanup of local named trees used by JS
|
||||
class LocalVoxelsList {
|
||||
|
@ -52,7 +53,7 @@ private:
|
|||
|
||||
QHash<QString, WeakVoxelTreePointer> _trees;
|
||||
|
||||
QList<StrongVoxelTreePointer> _persistantTree;
|
||||
QList<StrongVoxelTreePointer> _persistantTrees;
|
||||
};
|
||||
|
||||
#endif /* defined(__hifi__LocalVoxelsList__) */
|
||||
|
|
Loading…
Reference in a new issue