Skip to content

Commit

Permalink
Fix stars in CesiumWidget too.
Browse files Browse the repository at this point in the history
  • Loading branch information
shunter committed Jan 31, 2013
1 parent b4ff841 commit a1f2adb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Source/Widgets/Dojo/CesiumWidget.js
Expand Up @@ -207,6 +207,7 @@ define([

var imageryUrl = require.toUrl('../../Assets/Textures/');
this.dayImageUrl = defaultValue(this.dayImageUrl, imageryUrl + 'NE2_LR_LC_SR_W_DR_2048.jpg');
this.skyBoxBaseUrl = defaultValue(this.skyBoxBaseUrl, imageryUrl + 'SkyBox/tycho2t3_80');

var centralBody = this.centralBody = new CentralBody(ellipsoid);
centralBody.logoOffset = new Cartesian2(125, 0);
Expand All @@ -217,12 +218,12 @@ define([

if (this.showSkyBox) {
scene.skyBox = new SkyBox({
positiveX: imageryUrl + 'SkyBox/tycho8_px_80.jpg',
negativeX: imageryUrl + 'SkyBox/tycho8_mx_80.jpg',
positiveY: imageryUrl + 'SkyBox/tycho8_py_80.jpg',
negativeY: imageryUrl + 'SkyBox/tycho8_my_80.jpg',
positiveZ: imageryUrl + 'SkyBox/tycho8_pz_80.jpg',
negativeZ: imageryUrl + 'SkyBox/tycho8_mz_80.jpg'
positiveX : this.skyBoxBaseUrl + '_px.jpg',
negativeX : this.skyBoxBaseUrl + '_mx.jpg',
positiveY : this.skyBoxBaseUrl + '_py.jpg',
negativeY : this.skyBoxBaseUrl + '_my.jpg',
positiveZ : this.skyBoxBaseUrl + '_pz.jpg',
negativeZ : this.skyBoxBaseUrl + '_mz.jpg'
});
}

Expand Down

0 comments on commit a1f2adb

Please sign in to comment.