2
0
Эх сурвалжийг харах

exclude directories containing a dot from hxd.Res paths

ncannasse 6 жил өмнө
parent
commit
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;