Tweaks handling of "invisible" files, files which start with a ., effectively making them have no filename and only an extension.

This allows the engine to actually process and work with such files.
This commit is contained in:
JeffR 2022-03-15 21:17:37 -05:00
parent 2198dd14d1
commit b36776d567
2 changed files with 9 additions and 4 deletions

View file

@ -750,10 +750,6 @@ S32 MountSystem::findByPattern( const Path &inBasePath, const String &inFilePatt
while ( dir->read( &attrs ) )
{
// skip hidden files
if ( attrs.name.c_str()[0] == '.' )
continue;
String name( attrs.name );
if ( (attrs.flags & FileNode::Directory) && inRecursive )