浏览代码

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];
}



正在加载...
取消
保存