|
@@ -256,7 +256,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
//V3版本去oss下载2048模型
|
|
|
String meshPath = ConstantFilePath.SCENE_PATH + "data/data" + sceneNum + "/mesh";
|
|
|
FileUtils.deleteDirectory(meshPath);
|
|
|
- CreateObjUtil.ossUtilCp("data/data" + sceneNum + "/mesh", meshPath);
|
|
|
+ fYunFileService.downloadFileByCommand(meshPath, "data/data" + sceneNum + "/mesh");
|
|
|
if(new File(meshPath.concat("/mesh")).listFiles().length > 0){
|
|
|
for(File file : new File(meshPath.concat("/mesh")).listFiles()){
|
|
|
if(file.getName().endsWith(".obj") && !"output.house.obj".equals(file.getName()) &&
|