Browse Source

Fix multires texture loading artifacts (regression introduced in 53c6cf85f7).

pull/234/head
Matthew Petroff 8 years ago
parent
commit
14682461e1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/libpannellum.js

+ 1
- 1
src/js/libpannellum.js View File

@@ -985,8 +985,8 @@ function Renderer(container) {
this.image = new Image(); this.image = new Image();
this.image.addEventListener('load', function() { this.image.addEventListener('load', function() {
processLoadedTexture(self.image, self.texture); processLoadedTexture(self.image, self.texture);
releaseTextureImageLoader(self);
self.callback(self.texture); self.callback(self.texture);
releaseTextureImageLoader(self);
}); });
}; };




Loading…
Cancel
Save