|
@@ -208,7 +208,7 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
String localPath = OBJToGLBUtil.OsgbToB3dm(objPathFile);
|
|
String localPath = OBJToGLBUtil.OsgbToB3dm(objPathFile);
|
|
|
|
|
|
String jsonPath = null;
|
|
String jsonPath = null;
|
|
- jsonPath = FileWriterUtil.checkB3dmTileset(objPathFile);
|
|
|
|
|
|
+ jsonPath = FileWriterUtil.checkB3dmTileset(new File(localPath));
|
|
if(jsonPath == null){
|
|
if(jsonPath == null){
|
|
throw new BusinessException(-1,"缺少tileset.json文件");
|
|
throw new BusinessException(-1,"缺少tileset.json文件");
|
|
|
|
|