|
|
@@ -108,7 +108,7 @@ public class OBJToGLBUtil {
|
|
|
LinkedHashSet<String> imgMtl = readMtlFile(file.getPath());
|
|
|
for (String mtlName : imgMtl) {
|
|
|
if(!imgName.contains(mtlName)){
|
|
|
- throw new BusinessException(ResultCode.UPLOAD_FILE_MSG_ERROR.code,mtlName +".jpg 图片缺失!");
|
|
|
+ throw new BusinessException(ResultCode.UPLOAD_FILE_ERROR);
|
|
|
}
|
|
|
}
|
|
|
updateMtlFile(file);
|