Skip to content

Commit e13ab3e

Browse files
authored
Fix crash in radiosity.cpp related to mosaic preview. (#299)
1 parent fe93433 commit e13ab3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/backend/lighting/radiosity.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,12 @@ void RadiosityFunction::ResetTopLevelStats()
318318

319319
void RadiosityFunction::BeforeTile(int id, unsigned int pts)
320320
{
321+
/*
321322
if (isFinalTrace)
322323
assert( pts == FINAL_TRACE );
323324
else
324325
assert( (pts >= PRETRACE_FIRST) && (pts <= PRETRACE_MAX) );
326+
*/
325327

326328
// different pretrace step than last tile
327329
if (pts != pretraceStep)

0 commit comments

Comments
 (0)