|
@@ -981,7 +981,11 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
dataJson.put("split_type", "SPLIT_V8");
|
|
dataJson.put("split_type", "SPLIT_V8");
|
|
//sceneScheme为3切成瓦片图
|
|
//sceneScheme为3切成瓦片图
|
|
if(sceneProEntity.getSceneScheme() == 3){
|
|
if(sceneProEntity.getSceneScheme() == 3){
|
|
- dataJson.put("skybox_type", "SKYBOX_V4");
|
|
|
|
|
|
+ String skybox_type = "SKYBOX_V14";
|
|
|
|
+ if(sceneProEntity.getSceneSource() !=null && sceneProEntity.getSceneSource() < 3){
|
|
|
|
+ skybox_type = "SKYBOX_V13";
|
|
|
|
+ }
|
|
|
|
+ dataJson.put("skybox_type", skybox_type);
|
|
}
|
|
}
|
|
FileUtils.writeFile(target + File.separator+"data.json", new String(dataJson.toString().getBytes(), "UTF-8"));
|
|
FileUtils.writeFile(target + File.separator+"data.json", new String(dataJson.toString().getBytes(), "UTF-8"));
|
|
}
|
|
}
|
|
@@ -2411,7 +2415,11 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
}
|
|
}
|
|
dataJson.put("split_type", "SPLIT_V8");
|
|
dataJson.put("split_type", "SPLIT_V8");
|
|
if(sceneProEntity.getSceneScheme() == 3){
|
|
if(sceneProEntity.getSceneScheme() == 3){
|
|
- dataJson.put("skybox_type", "SKYBOX_V4");
|
|
|
|
|
|
+ String skybox_type = "SKYBOX_V14";
|
|
|
|
+ if(sceneProEntity.getSceneSource() !=null && sceneProEntity.getSceneSource() < 3){
|
|
|
|
+ skybox_type = "SKYBOX_V13";
|
|
|
|
+ }
|
|
|
|
+ dataJson.put("skybox_type", skybox_type);
|
|
}
|
|
}
|
|
FileUtils.writeFile(target + File.separator+"data.json", new String(dataJson.toString().getBytes(), "UTF-8"));
|
|
FileUtils.writeFile(target + File.separator+"data.json", new String(dataJson.toString().getBytes(), "UTF-8"));
|
|
}
|
|
}
|