@@ -145,6 +145,7 @@ public enum ErrorCode {
FAILURE_CODE_5062(5062, "无可用jpg文件"),
FAILURE_CODE_5063(5063, "下载失败"),
FAILURE_CODE_5064(5064, "导览视频上传中,请稍后重试"),
+ FAILURE_CODE_5065(5065, "压缩包内不能包含目录"),
FAILURE_CODE_7001(7001, "激光场景状态同步失败,请重试!"),
@@ -627,7 +627,7 @@ public class CreateObjUtil {
}
public static void obj2Glb(String objPath, String glbPath){
- String command = "obj2gltf " + objPath + " " + glbPath;
+ String command = "obj2gltf" + " -i " + objPath + " -o " + glbPath;
log.info("开始执行obj转换gbl命令-{}", command);
CreateObjUtil.callshell(command);
log.info("结束执行obj转换gbl命令-{}", command);