Skip to content

Commit

Permalink
Release 4.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Mar 5, 2022
2 parents 9a08c70 + b96a145 commit 3e79c2f
Show file tree
Hide file tree
Showing 23 changed files with 29 additions and 33 deletions.
7 changes: 3 additions & 4 deletions dist/adapters/cubemap-tiles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/cubemap-tiles.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/adapters/cubemap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions dist/adapters/equirectangular-tiles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/equirectangular-tiles.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/autorotate-keypoints.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/compass.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/compass.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/gyroscope.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/markers.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/markers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/resolution.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/settings.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/settings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/stereo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/virtual-tour.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/virtual-tour.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/visible-range.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photo-sphere-viewer",
"version": "4.5.2",
"version": "4.5.3",
"description": "A JavaScript library to display Photo Sphere panoramas",
"homepage": "https://photo-sphere-viewer.js.org",
"main": "dist/photo-sphere-viewer.js",
Expand Down
5 changes: 2 additions & 3 deletions src/adapters/cubemap-tiles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ export class CubemapTilesAdapter extends CubemapAdapter {
* @private
*/
__refresh(init = false) { // eslint-disable-line no-unused-vars
const panorama = this.psv.config.panorama;

if (!panorama) {
if (!this.prop.geom) {
return;
}

Expand All @@ -319,6 +317,7 @@ export class CubemapTilesAdapter extends CubemapAdapter {
projScreenMatrix.multiplyMatrices(camera.projectionMatrix, camera.matrixWorldInverse);
frustum.setFromProjectionMatrix(projScreenMatrix);

const panorama = this.psv.config.panorama;
const verticesPosition = this.prop.geom.getAttribute(ATTR_POSITION);
const tilesToLoad = [];

Expand Down
5 changes: 2 additions & 3 deletions src/adapters/equirectangular-tiles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,7 @@ export class EquirectangularTilesAdapter extends EquirectangularAdapter {
* @private
*/
__refresh(init = false) { // eslint-disable-line no-unused-vars
const panorama = this.psv.config.panorama;

if (!panorama) {
if (!this.prop.geom) {
return;
}

Expand All @@ -374,6 +372,7 @@ export class EquirectangularTilesAdapter extends EquirectangularAdapter {
projScreenMatrix.multiplyMatrices(camera.projectionMatrix, camera.matrixWorldInverse);
frustum.setFromProjectionMatrix(projScreenMatrix);

const panorama = this.psv.config.panorama;
const verticesPosition = this.prop.geom.getAttribute(ATTR_POSITION);
const tilesToLoad = [];

Expand Down

0 comments on commit 3e79c2f

Please sign in to comment.