Browse Source

Fix bug in handling of XMP pitch and roll data.

pull/101/head
Matthew Petroff 9 years ago
parent
commit
c1317b1dfb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/libpannellum.js

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

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


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




Loading…
Cancel
Save