ncannasse %!s(int64=10) %!d(string=hai) anos
pai
achega
7ffc1d7661
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      hxd/res/FileTree.hx

+ 2 - 2
hxd/res/FileTree.hx

@@ -250,9 +250,9 @@ class FileTree {
 			var fileName = f;
 			var field = null;
 			var ext = null;
-			if( f.charCodeAt(0) == ".".code || f.charCodeAt(0) == "_".code )
-				continue;
 			if( sys.FileSystem.isDirectory(path) ) {
+				if( f.charCodeAt(0) == ".".code || f.charCodeAt(0) == "_".code )
+					continue;
 				field = handleDir(f, relPath.length == 0 ? f : relPath+"/"+f, path);
 			} else {
 				var extParts = f.split(".");