mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 13:03:55 +02:00
temporary hack fix to not discarding voxels
This commit is contained in:
parent
eb4c2358a5
commit
c70ade0cc1
1 changed files with 3 additions and 0 deletions
|
@ -887,11 +887,14 @@ bool VoxelSystem::removeOutOfViewOperation(VoxelNode* node, void* extraData) {
|
|||
|
||||
bool VoxelSystem::isViewChanging() {
|
||||
bool result = false; // assume the best
|
||||
|
||||
/** TEMPORARY HACK ******
|
||||
// If our viewFrustum has changed since our _lastKnowViewFrustum
|
||||
if (_viewFrustum && !_lastKnowViewFrustum.matches(_viewFrustum)) {
|
||||
result = true;
|
||||
_lastKnowViewFrustum = *_viewFrustum; // save last known
|
||||
}
|
||||
**/
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue