소스 검색

exclude directories containing a dot from hxd.Res paths

ncannasse 6 년 전
부모
커밋
d2db4e471c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hxd/res/FileTree.hx

+ 2 - 0
hxd/res/FileTree.hx

@@ -298,6 +298,8 @@ class FileTree {
 		}
 
 		for( d in tree.dirs ) {
+			if( d.name.indexOf(".") >= 0 )
+				continue; // ignore directories containing a dot (only for ident generation)
 			if( fident.exists(d.ident) ) {
 				Context.warning("Directory " + d.relPath + " ignored because of " + fident.get(d.ident), pos);
 				continue;