mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +02:00
fix LocalVoxelsOverlay types to match
This commit is contained in:
parent
711e6ca3f5
commit
c958ae8cfb
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ void LocalVoxelsOverlay::update(float deltatime) {
|
||||||
}
|
}
|
||||||
|
|
||||||
_tree->lockForRead();
|
_tree->lockForRead();
|
||||||
if (_visible && _voxelCount != (int)_tree->getOctreeElementsCount()) {
|
if (_visible && _voxelCount != _tree->getOctreeElementsCount()) {
|
||||||
_voxelCount = _tree->getOctreeElementsCount();
|
_voxelCount = _tree->getOctreeElementsCount();
|
||||||
_voxelSystem->forceRedrawEntireTree();
|
_voxelSystem->forceRedrawEntireTree();
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ private:
|
||||||
|
|
||||||
QString _treeName;
|
QString _treeName;
|
||||||
StrongVoxelTreePointer _tree; // so that the tree doesn't get freed
|
StrongVoxelTreePointer _tree; // so that the tree doesn't get freed
|
||||||
int _voxelCount;
|
unsigned long _voxelCount;
|
||||||
StrongVoxelSystemPointer _voxelSystem;
|
StrongVoxelSystemPointer _voxelSystem;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue