History

Using new variable in all references to S3 bucket

Leonardo Murillo committed 12 years ago

Commit f0852ba1 parent f284fc538 files · +290 −213Browse files

Showing the changes to examples/editModelExample.js (1 of 38 files). Show all

Unified · Split

examples/editModelExample.js+8−6
@@ -11,6 +11,8 @@ · 10 unmodified lines
1111 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
1212 //
1313
14+Script.include("libraries/globals.js");
15+
1416 var count = 0;
1517 var moveUntil = 2000;
1618 var stopAfter = moveUntil + 100;
@@ -31,12 +33,12 @@ var originalProperties = { · 14 unmodified lines
3133 green: 255,
3234 blue: 0 },
3335
34− modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/Feisar_Ship.FBX",
35− //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/birarda/birarda_head.fbx",
36− //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/pug.fbx",
37− //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/newInvader16x16-large-purple.svo",
38− //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/minotaur/mino_full.fbx",
39− //modelURL: "http://highfidelity-public.s3-us-west-1.amazonaws.com/meshes/Combat_tank_V01.FBX",
36+ modelURL: HIFI_PUBLIC_BUCKET + "meshes/Feisar_Ship.FBX",
37+ //modelURL: HIFI_PUBLIC_BUCKET + "meshes/birarda/birarda_head.fbx",
38+ //modelURL: HIFI_PUBLIC_BUCKET + "meshes/pug.fbx",
39+ //modelURL: HIFI_PUBLIC_BUCKET + "meshes/newInvader16x16-large-purple.svo",
40+ //modelURL: HIFI_PUBLIC_BUCKET + "meshes/minotaur/mino_full.fbx",
41+ //modelURL: HIFI_PUBLIC_BUCKET + "meshes/Combat_tank_V01.FBX",
4042
4143 rotation: rotation
4244 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t