|
@@ -4567,6 +4567,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
String meshPath = String.format(ConstantFilePath.DATABUFFER_FORMAT, sceneNum) + "mesh";
|
|
String meshPath = String.format(ConstantFilePath.DATABUFFER_FORMAT, sceneNum) + "mesh";
|
|
FileUtils.deleteDirectory(meshPath);
|
|
FileUtils.deleteDirectory(meshPath);
|
|
CreateObjUtil.ossUtilCp(dataViewPath + "mesh", meshPath);
|
|
CreateObjUtil.ossUtilCp(dataViewPath + "mesh", meshPath);
|
|
|
|
+ log.info("meshPath="+meshPath);
|
|
|
|
+ log.info("meshPath="+meshPath.concat("/mesh"));
|
|
|
|
+ log.info(new File(meshPath.concat("/mesh")).listFiles().toString());
|
|
if(new File(meshPath.concat("/mesh")).listFiles().length > 0){
|
|
if(new File(meshPath.concat("/mesh")).listFiles().length > 0){
|
|
for(File file : new File(meshPath.concat("/mesh")).listFiles()){
|
|
for(File file : new File(meshPath.concat("/mesh")).listFiles()){
|
|
if(file.getName().endsWith(".obj") && !"output.house.obj".equals(file.getName()) &&
|
|
if(file.getName().endsWith(".obj") && !"output.house.obj".equals(file.getName()) &&
|