From 32d33e24a453ecc81b3d016d956b9aaf25df3cfb Mon Sep 17 00:00:00 2001 From: Christoph Lipka Date: Mon, 12 Jun 2017 18:29:43 +0200 Subject: [PATCH] Fix crash in radiosity.cpp related to mosaic preview. --- source/backend/lighting/radiosity.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/backend/lighting/radiosity.cpp b/source/backend/lighting/radiosity.cpp index 187bb923a..a4ba466b0 100644 --- a/source/backend/lighting/radiosity.cpp +++ b/source/backend/lighting/radiosity.cpp @@ -318,10 +318,12 @@ void RadiosityFunction::ResetTopLevelStats() void RadiosityFunction::BeforeTile(int id, unsigned int pts) { + /* if (isFinalTrace) assert( pts == FINAL_TRACE ); else assert( (pts >= PRETRACE_FIRST) && (pts <= PRETRACE_MAX) ); + */ // different pretrace step than last tile if (pts != pretraceStep)