Skip to content

Commit

Permalink
Fix: Typo in Image360 renderer that prevented viewer from loading
Browse files Browse the repository at this point in the history
  • Loading branch information
MiiBond authored Mar 22, 2017
1 parent dd486f3 commit 0668a1c
Show file tree
Hide file tree
Showing 18 changed files with 168 additions and 46,681 deletions.
2 changes: 1 addition & 1 deletion src/lib/viewers/box3d/image360/Image360Renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Image360Renderer extends Box3DRenderer {
/* istanbul ignore next */
return this.box3d.addRemoteEntities(assetUrl)
.then(() => {
this.imageAsset = this.box3d.getAssetByType(Box3D.ImageAsset);
this.imageAsset = this.box3d.getAssetByClass(Box3D.ImageAsset);
this.textureAsset = this.box3d.createTexture2d();
this.textureAsset.setProperties({
imageId: this.imageAsset.id,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0668a1c

Please sign in to comment.