Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
amandaghassaei committed Oct 4, 2017
1 parent 7343474 commit 02ab0e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/VRInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function initViveInterface(globals){
globals.vertTol = 3;
globals.importer.importDemoFile(url);
}
examplesMenu.name("Examples, current file: " + val);
examplesMenu.name("Examples - current file: " + val);
});
});

Expand Down Expand Up @@ -353,6 +353,7 @@ function initViveInterface(globals){
globals.nodePositionHasChanged = true;
continue;
}
if (states[i]) continue;//using the gui

var cast = new THREE.Raycaster(position, tDirection, 0, 1);
var intersects = cast.intersectObjects(globals.model.getMesh(), false);
Expand Down Expand Up @@ -417,7 +418,7 @@ function initViveInterface(globals){
for (var i=0;i<keys.length;i++){
var group = examples[keys[i]];
if (group[globals.url]){
return ", current file: " + group[globals.url];
return " - current file: " + group[globals.url];
}
}
return "";
Expand Down

0 comments on commit 02ab0e5

Please sign in to comment.