|
@@ -1077,7 +1077,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
|
|
|
JSONObject earth = customMask.getJSONObject("earth");
|
|
|
JSONObject sky = customMask.getJSONObject("sky");
|
|
|
JSONObject customMaskJson = new JSONObject();
|
|
|
- if (StrUtil.isNotEmpty(earth.getString("icon")) && i == 0) {
|
|
|
+ if (StrUtil.isNotEmpty(earth.getString("icon"))) {
|
|
|
earth.put("antidistorted", true);
|
|
|
earth.put("scale", 1);
|
|
|
customMaskJson.put("earth", earth);
|
|
@@ -1091,7 +1091,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
|
|
|
customMaskJson.put("earth", earth);
|
|
|
}
|
|
|
|
|
|
- if (StrUtil.isNotEmpty(sky.getString("icon")) && i == 0) {
|
|
|
+ if (StrUtil.isNotEmpty(sky.getString("icon"))) {
|
|
|
sky.put("antidistorted", true);
|
|
|
sky.put("scale", 1);
|
|
|
customMaskJson.put("sky", sky);
|
|
@@ -1107,7 +1107,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
|
|
|
parse.put("customMask", customMaskJson);
|
|
|
}
|
|
|
|
|
|
- if (parse.containsKey("initVisual") && i == 0) {
|
|
|
+ if (parse.containsKey("initVisual")) {
|
|
|
JSONObject initVisual = parse.getJSONObject("initVisual");
|
|
|
initVisual.put("vlookatmin", 90);
|
|
|
initVisual.put("vlookatmax", -90);
|