@panoramax/web-viewer 5.2.0-develop-0b4f95c7 → 5.2.0-develop-bd0c390b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ import BasicStyles from "./Basic.css" with { type: "css" };
|
|
|
9
9
|
document.adoptedStyleSheets.push(AtkinsonStyles);
|
|
10
10
|
document.adoptedStyleSheets.push(BasicStyles);
|
|
11
11
|
|
|
12
|
-
const __COMMIT_HASH__ = "
|
|
12
|
+
const __COMMIT_HASH__ = "bd0c390";
|
|
13
13
|
const __PACKAGE_VERSION__ = "5.2.0";
|
|
14
14
|
const __PACKAGE_ISSUES_URL__ = "https://gitlab.com/panoramax/clients/web-viewer/-/work_items";
|
|
15
15
|
|
|
@@ -431,7 +431,11 @@ export default class ClickAndGo {
|
|
|
431
431
|
* @returns {boolean} True if image has pitch/roll correction
|
|
432
432
|
*/
|
|
433
433
|
function hasGoodYPR(metadata) {
|
|
434
|
-
return
|
|
434
|
+
return (
|
|
435
|
+
metadata.properties?.["pers:interior_orientation"]?.field_of_view === 360
|
|
436
|
+
|| metadata?.properties?.["pers:roll"] !== undefined
|
|
437
|
+
|| metadata?.properties?.["pers:pitch"] !== undefined
|
|
438
|
+
);
|
|
435
439
|
}
|
|
436
440
|
|
|
437
441
|
/**
|
package/package.json
CHANGED