Browse Source

Revert "Convert time check with millisecond precision (bug with softwares writing files several time in a row)."

This reverts commit e5ebb689c5edfb3f6b1c10fbcc1e8c5cdd18f425.

Try to find something to keep existing converted files.
clementlandrin 11 tháng trước cách đây
mục cha
commit
e3f21a7bf9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hxd/fs/FileConverter.hx

+ 1 - 1
hxd/fs/FileConverter.hx

@@ -311,7 +311,7 @@ class FileConverter {
 
 		if( !sys.FileSystem.exists(fullPath) ) throw "Missing "+fullPath;
 
-		var time = std.Math.floor(getFileTime(fullPath));
+		var time = std.Math.floor(getFileTime(fullPath) / 1000);
 		var alreadyGen = sys.FileSystem.exists(fullOutPath) && match.ver == conv.version #if disable_res_cache && false #end;
 
 		if( alreadyGen && match.time == time )