Skip to content

Commit

Permalink
Fixed tileset loading error in Many Clipping Planes example
Browse files Browse the repository at this point in the history
  • Loading branch information
ggetz committed Jul 31, 2018
1 parent 46bd796 commit 9d3b616
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,7 @@
});
} else if (newValue === clipObjects[3]) {
// i3dm
instancedUrl.then(function(resource) {
return loadTileset(resource);
}).then(function() {
loadTileset(instancedUrl).then(function() {
tileset.clippingPlanes.modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(tileset.boundingSphere.center);
});
} else if (newValue === clipObjects[4]) {
Expand Down

0 comments on commit 9d3b616

Please sign in to comment.