From b585d6596239f77ebe972d1f87954b235115dd07 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 7 Jan 2018 12:59:44 +0100 Subject: [PATCH] Rez: fix error reporting bug - report in phase two instead of phase 1 --- Rez/ResourceCompiler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rez/ResourceCompiler.cc b/Rez/ResourceCompiler.cc index 88e5fe9070..9efe0a23bc 100644 --- a/Rez/ResourceCompiler.cc +++ b/Rez/ResourceCompiler.cc @@ -147,7 +147,7 @@ int ResourceCompiler::getArrayIndex(const std::string &arrayName) void ResourceCompiler::problem(Diagnostic d) { - if(prePass) + if(!prePass) world.problem(d); }