mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 14:57:00 +02:00
ready for demo
This commit is contained in:
parent
0512da0e39
commit
ed6a866ff9
2 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@
|
|||
unload: function() {
|
||||
|
||||
Overlays.deleteOverlay(this.laserPointer);
|
||||
this.eraseBoard();
|
||||
// this.eraseBoard();
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
Script.include("../../libraries/utils.js");
|
||||
var scriptURL = Script.resolvePath("whiteboardEntityScript.js");
|
||||
//var modelURL = "https://hifi-public.s3.amazonaws.com/ozan/support/for_eric/whiteboard/whiteboard.fbx";
|
||||
//var modelURL = "http://localhost:8080/whiteboard.fbx?v1" + Math.random();
|
||||
// var modelURL = "http://localhost:8080/whiteboard.fbx?v1" + Math.random();
|
||||
var modelURL = "https://s3.amazonaws.com/hifi-public/eric/models/whiteboard.fbx";
|
||||
var rotation = Quat.safeEulerAngles(Camera.getOrientation());
|
||||
rotation = Quat.fromPitchYawRollDegrees(0, rotation.y, 0);
|
||||
|
@ -192,4 +192,4 @@ function cleanup() {
|
|||
|
||||
|
||||
// Uncomment this line to delete whiteboard and all associated entity on script close
|
||||
Script.scriptEnding.connect(cleanup);
|
||||
// Script.scriptEnding.connect(cleanup);
|
Loading…
Reference in a new issue