dengsixing 7 miesięcy temu
rodzic
commit
b74d5be440

+ 2 - 2
src/main/java/com/fdkankan/scene/service/impl/SceneEditInfoServiceImpl.java

@@ -1158,8 +1158,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
         CreateObjUtil.convertVisionmodeldataToTxt(target + File.separator + "extras" + File.separator + "vision.modeldata",
             target + File.separator + "extras" + File.separator + "vision.txt");
 
-        String ossResultPath = String.format(UploadFilePath.scene_result_data_path, num);
-        fYunFileService.downloadFile(bucket, ossResultPath + "data.json", target + File.separator+"data.json");
+//        String ossResultPath = String.format(UploadFilePath.scene_result_data_path, num);
+//        fYunFileService.downloadFile(bucket, ossResultPath + "data.json", target + File.separator+"data.json");
 //        fYunFileService.downloadFile(bucket, ossResultPath + "project.json", target + File.separator+"project.json");
 
         //data.json增加extras为执行重建算法

+ 1 - 2
src/main/java/com/fdkankan/scene/service/impl/SceneProServiceImpl.java

@@ -1192,8 +1192,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
                     !"mesh.obj".equals(file.getName())){
                 file.delete();
             }
-            if(file.getName().endsWith(".mtl") && !"output.house.mtl".equals(file.getName()) &&
-                    !"mesh.mtl".equals(file.getName())){
+            if(file.getName().endsWith(".mtl") && !"output.house.mtl".equals(file.getName())){
                 file.delete();
             }
         }