Pārlūkot izejas kodu

Fix bug in handling of XMP pitch and roll data.

pull/101/head
Matthew Petroff pirms 9 gadiem
vecāks
revīzija
c1317b1dfb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/js/libpannellum.js

+ 1
- 1
src/js/libpannellum.js Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt