Skip to content

Commit

Permalink
Update package list and fix widget startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
shunter committed Nov 9, 2012
1 parent 312b0e7 commit 6b91652
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Apps/Sandcastle/gallery/Terrain.html
Expand Up @@ -25,7 +25,7 @@
{ name: 'dojo', location: 'ThirdParty/dojo-release-1.7.2-src/dojo' },
{ name: 'dijit', location: 'ThirdParty/dojo-release-1.7.2-src/dijit' },
{ name: 'dojox', location: 'ThirdParty/dojo-release-1.7.2-src/dojox' },
{ name: 'Source', location: 'Source' },
{ name: 'Assets', location: 'Source/Assets' },
{ name: 'Core', location: 'Source/Core' },
{ name: 'DynamicScene', location: 'Source/DynamicScene' },
{ name: 'Renderer', location: 'Source/Renderer' },
Expand Down Expand Up @@ -171,7 +171,7 @@
enableDragDrop : true
});
widget.placeAt(dom.byId('cesiumContainer'));
widget.startWidget();
widget.startup();
dom.byId('toolbar').innerHTML = '';

scene = widget.scene;
Expand Down Expand Up @@ -225,8 +225,6 @@
mousePosition = movement.endPosition;
// Use movement.startPosition, movement.endPosition
}, Cesium.MouseEventType.MOVE);

widget.startRenderLoop();
});
</script>
</body>
Expand Down

0 comments on commit 6b91652

Please sign in to comment.