|
@@ -234,10 +234,13 @@ public class ThreadService {
|
|
|
private void toGlB(File localFile, List<String> localGlbPath, HashMap<String,Long> sizeMap ) {
|
|
|
File[] files = localFile.listFiles();
|
|
|
for (File file : files) {
|
|
|
+ if(file.getPath().contains(".temp")){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
if(file.isDirectory()){
|
|
|
toGlB(file,localGlbPath,sizeMap);
|
|
|
}
|
|
|
- if(file.getPath().contains("lod_") ){
|
|
|
+ if(file.getPath().contains("lod_")){
|
|
|
if(file.getPath().contains("lod_0") && file.getName().contains(".obj")){
|
|
|
String glbPath = OBJToGLBUtil.objToB3dm(file.getPath(),file.getParentFile().getPath()+"/b3dm");
|
|
|
sizeMap.put("size",sizeMap.get("size") + file.length());
|