瀏覽代碼

FileConverter: do convert if local param no longer exists

Yuxiao Mao 3 周之前
父節點
當前提交
a8581136d8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/fs/FileConverter.hx

+ 1 - 1
hxd/fs/FileConverter.hx

@@ -337,7 +337,7 @@ class FileConverter {
 		conv.originalFilename = e.name;
 		conv.originalFilename = e.name;
 		var hasLocalParams = conv.hasLocalParams();
 		var hasLocalParams = conv.hasLocalParams();
 
 
-		if( alreadyGen && !hasLocalParams && match.time == time #if js && (match.milliseconds == null || match.milliseconds == milliseconds ) #end ) {
+		if( alreadyGen && !hasLocalParams && match.localParamsHash == null && match.time == time #if js && (match.milliseconds == null || match.milliseconds == milliseconds ) #end ) {
 			conv.cleanup();
 			conv.cleanup();
 			return; // not changed (time stamp)
 			return; // not changed (time stamp)
 		}
 		}