From 2b5469786237940cb8e3fa0bc06bd17ae1487b9e Mon Sep 17 00:00:00 2001 From: Dunedan Date: Fri, 23 May 2025 07:30:17 +0200 Subject: [PATCH] Fix overwriting previous error state This fixes a problem where the previous error state got overwritten by the result of validating meshes in checkrefs.py. --- source/tools/entity/checkrefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tools/entity/checkrefs.py b/source/tools/entity/checkrefs.py index 0b13c3ba9d..d97b9cf606 100755 --- a/source/tools/entity/checkrefs.py +++ b/source/tools/entity/checkrefs.py @@ -169,7 +169,7 @@ class CheckRefs: from validate_dae import DaeValidator dv = DaeValidator(self.vfs_root, self.mods) - self.inError = not dv.run() + self.inError = self.inError or not dv.run() return not self.inError