lyhzzz 1 year ago
parent
commit
9d201e8177
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/main/java/com/fdkankan/fusion/common/util/OBJToGLBUtil.java

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

@@ -48,11 +48,11 @@ public class OBJToGLBUtil {
 
 
     private static Integer getLodNum(String objPath) {
     private static Integer getLodNum(String objPath) {
 
 
-        long length = new File(objPath).length();
-        long mb = length / 1024 /1024;
-        if(mb >100){
-            return  (mb /10) >10 ?10:Integer.parseInt(String.valueOf(mb /10));
-        }
+//        long length = new File(objPath).length();
+//        long mb = length / 1024 /1024;
+//        if(mb >100){
+//            return  (mb /10) >10 ?10:Integer.parseInt(String.valueOf(mb /10));
+//        }
 
 
         return 3;
         return 3;
     }
     }