瀏覽代碼

Fix bug in handling of XMP pitch and roll data.

pull/101/head
Matthew Petroff 9 年之前
父節點
當前提交
c1317b1dfb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/js/libpannellum.js

+ 1
- 1
src/js/libpannellum.js 查看文件

@@ -219,7 +219,7 @@ function Renderer(container, image, imageType, dynamic) {
}

// Store horizon pitch and roll if applicable
if (image.horizonPitch && image.horizonRoll) {
if (image.horizonPitch !== undefined && image.horizonRoll !== undefined) {
pose = [image.horizonPitch, image.horizonRoll];
}



Loading…
取消
儲存