mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 20:10:20 +02:00
clear octree interval
This commit is contained in:
parent
5e5c6158bb
commit
cb2fbd7e7f
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ function makeBoxes() {
|
|||
for (i = 0; i < NUMBER_OF_BOXES; i++) {
|
||||
createBox();
|
||||
}
|
||||
Script.clearInterval(octreeQueryInterval);
|
||||
}
|
||||
|
||||
function createBox() {
|
||||
|
@ -95,7 +96,7 @@ EntityViewer.setPosition({
|
|||
z: 0
|
||||
});
|
||||
EntityViewer.setKeyholeRadius(60000);
|
||||
Script.setInterval(function() {
|
||||
var octreeQueryInterval = Script.setInterval(function() {
|
||||
EntityViewer.queryOctree();
|
||||
}, 1000);
|
||||
|
||||
|
|
Loading…
Reference in a new issue