only ignore empty dirs in Debug for performance
This commit is contained in:
@@ -365,12 +365,16 @@ try_element_again:
|
||||
if( !IsADirectory(asPaths[p]) )
|
||||
continue;
|
||||
|
||||
#ifdef DEBUG
|
||||
// Ignore empty directories so that we don't have to wait to test changes until
|
||||
// CVS is updated and prunes the empties.
|
||||
vector<CString> vs;
|
||||
GetDirListing( asPaths[p]+"/*", vs, false, false );
|
||||
StripCvs( vs );
|
||||
bool bDirIsEmpty = vs.empty();
|
||||
if( bDirIsEmpty )
|
||||
continue;
|
||||
#endif
|
||||
}
|
||||
|
||||
if( ext == asset_masks[i] || !strcmp(asset_masks[i], "*") )
|
||||
|
||||
Reference in New Issue
Block a user