Fixing the url behavior

This commit is contained in:
Sam Gateau 2015-09-09 18:11:00 -07:00
parent 8360fceadf
commit 0a0a9805f6
2 changed files with 3 additions and 4 deletions

View file

@ -15,8 +15,7 @@
Script.include("https://hifi-public.s3.amazonaws.com/scripts/utilities.js");
var scriptURL = "file:///C:/GitHub/hifi/examples/toys/flashlight/flashlight.js?"+randInt(0,1000);
//var scriptURL = "https://hifi-public.s3.amazonaws.com/scripts/toys/flashlight/flashlight.js?"+randInt(0,1000);
var scriptURL = "https://hifi-public.s3.amazonaws.com/scripts/toys/flashlight/flashlight.js?"+randInt(0,1000);
var modelURL = "https://hifi-public.s3.amazonaws.com/models/props/flashlight.fbx";

View file

@ -87,8 +87,8 @@
});
_this._hasSpotlight = true;
// _this._startModelPosition = modelProperties.position;
// _this._startModelRotation = modelProperties.rotation;
_this._startModelPosition = modelProperties.position;
_this._startModelRotation = modelProperties.rotation;
debugPrint("Flashlight:: creating a spotlight");
} else {