|
@@ -70,7 +70,7 @@ public class FileWriterUtil {
|
|
|
File[] files = objPathFile.listFiles();
|
|
|
for (File file1 : files) {
|
|
|
if(file1.isFile()){
|
|
|
- if(file1.getName().contains(".obj") || file1.getName().contains(".las") || file1.getName().contains(".ply")){
|
|
|
+ if(file1.getName().endsWith(".obj") || file1.getName().endsWith(".las") || file1.getName().endsWith(".ply")){
|
|
|
fileList.add(file1);
|
|
|
}
|
|
|
}else {
|