Individually First Pass
This commit is contained in:
@ -5,6 +5,7 @@ public interface IMapLogic
|
||||
|
||||
const int CopyNotMappedFaces = 5;
|
||||
const int ForceSingleImage = 3;
|
||||
const int Individually = 6;
|
||||
const int ManualCopy = 4;
|
||||
const int Mapping = 1;
|
||||
const int Sigma = 3;
|
||||
|
@ -106,6 +106,8 @@ internal abstract partial class XDirectory
|
||||
FileInfo fileInfo = new(file);
|
||||
foreach (string possible in collection)
|
||||
{
|
||||
if (possible == file)
|
||||
continue;
|
||||
possibleFileInfo = new(possible);
|
||||
if (possibleFileInfo.LastWriteTime == fileInfo.LastWriteTime && possibleFileInfo.Length == fileInfo.Length)
|
||||
continue;
|
||||
@ -115,7 +117,7 @@ internal abstract partial class XDirectory
|
||||
File.SetLastWriteTime(file, new DateTime[] { possibleFileInfo.LastWriteTime, fileInfo.LastWriteTime }.Min());
|
||||
continue;
|
||||
}
|
||||
throw new Exception();
|
||||
throw new Exception(Path.GetFileNameWithoutExtension(file));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user