|
@@ -345,7 +345,7 @@ EditTools.prototype.initSaveAll = function() {
|
|
|
|
|
|
showHotListSta: $('#hotListSwitch').is(':checked'),
|
|
showHotListSta: $('#hotListSwitch').is(':checked'),
|
|
// 开启热点列表
|
|
// 开启热点列表
|
|
- //hotIconScale: DATA.hotIconScale,
|
|
|
|
|
|
+ hotIconScale: DATA.hotIconScale,
|
|
// 热点缩放
|
|
// 热点缩放
|
|
supportsVR: $('#VRSwitch input').is(':checked'),
|
|
supportsVR: $('#VRSwitch input').is(':checked'),
|
|
// 开启VR功能
|
|
// 开启VR功能
|
|
@@ -1058,6 +1058,9 @@ Hotpoint.prototype.init = function() {
|
|
}else{
|
|
}else{
|
|
s = c
|
|
s = c
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ s = Math.max(0.001, s)
|
|
|
|
+
|
|
player.model.hotGroup.children.forEach(hot=>{
|
|
player.model.hotGroup.children.forEach(hot=>{
|
|
if(hot.texType == 'shine'){
|
|
if(hot.texType == 'shine'){
|
|
hot.info.scale.multiplyScalar(s)
|
|
hot.info.scale.multiplyScalar(s)
|