From 128f3a98a8b537e8da1c3d8ec2a5d68f1098786f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=AD=90=E6=A5=A0?= <1323592980@qq.com> Date: Sun, 25 Apr 2021 11:56:54 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0319093..954edb9 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,17 @@ var tpano = new TPano({ 持续更新优化中 -v1.0.2 +v1.0.3 -支持插入热点图标 -修复了案例中笔记本屏幕分辨率下的显示问题 +修复1.0.2版本中发现的影响手机端体感控制的重大缺陷 + +https://gitee.com/push_0x57df/TPano/releases/1.03 + +v1.0.2(废弃,发现重大缺陷) + +增加快速加载组件 +增强稳定性 +废弃,发现重大缺陷导致手机端体感控制异常 https://gitee.com/push_0x57df/TPano/releases/1.02 -- Gitee From cb44ebe1ba1c503771b2290f55edada89e4cd773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=AD=90=E6=A5=A0?= <1323592980@qq.com> Date: Sun, 25 Apr 2021 12:35:47 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A8=B3=E5=AE=9A?= =?UTF-8?q?=E6=80=A7=EF=BC=8C=E5=8F=AF=E9=80=89=E6=8B=A9=E6=80=A7=E7=9A=84?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E4=BD=93=E6=84=9F=E6=8E=A7=E5=88=B6=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/tpano.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/tpano.js b/dist/tpano.js index 655398c..8220129 100644 --- a/dist/tpano.js +++ b/dist/tpano.js @@ -217,7 +217,11 @@ function TPano(d) { } //体感控制 - let devicecontrol = new THREE.DeviceOrientationControls(camera); + try { + let devicecontrol = new THREE.DeviceOrientationControls(camera); + } catch (error) { + let devicecontrol = null; + } //启动鼠标控制 mouseController(); -- Gitee From ab8293370a51d7d787d8086bbb5e8756bac227b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=AD=90=E6=A5=A0?= <1323592980@qq.com> Date: Mon, 26 Apr 2021 10:54:22 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E8=A1=A5=E5=85=85fastload=E7=9A=84?= =?UTF-8?q?=E7=94=A8=E6=B3=95=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 128 ++++++++++++++++++++++++++++-------------- example/fastload.html | 30 ++++++++++ 2 files changed, 115 insertions(+), 43 deletions(-) create mode 100644 example/fastload.html diff --git a/README.md b/README.md index 954edb9..f84f1c2 100644 --- a/README.md +++ b/README.md @@ -14,48 +14,90 @@ ### 代码案例 -``` html - - - -
- - -