lyhzzz 2 months ago
parent
commit
d456d762ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/fdkankan/fusion/common/util/OBJToGLBUtil.java

+ 1 - 1
src/main/java/com/fdkankan/fusion/common/util/OBJToGLBUtil.java

@@ -93,7 +93,7 @@ public class OBJToGLBUtil {
             throw new BusinessException(ResultCode.UPLOAD_FILE_OBJ_ERROR);
             throw new BusinessException(ResultCode.UPLOAD_FILE_OBJ_ERROR);
         }
         }
         LinkedHashSet<String> imgName = new LinkedHashSet<>();
         LinkedHashSet<String> imgName = new LinkedHashSet<>();
-        if(allFile == null || allFile.length()<=0 ){
+        if(allFile == null  ){
             throw new BusinessException(ResultCode.UPLOAD_FILE_OBJ_ERROR);
             throw new BusinessException(ResultCode.UPLOAD_FILE_OBJ_ERROR);
         }
         }
         File[] files = allFile.listFiles();
         File[] files = allFile.listFiles();