瀏覽代碼

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 月之前
父節點
當前提交
e3f21a7bf9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 )