Skip to content

Commit

Permalink
Make LDTC copy BIZR, BIZRG and BIZRG's wavelength too. (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
cracker1000 committed Jan 15, 2024
1 parent 00602f5 commit 708d543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/elements/LDTC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ constexpr int FLAG_KEEP_SEARCHING = 0x8;
/* Returns true for particles that activate the special FILT color copying mode */
static bool phot_data_type(int rt)
{
return rt == PT_FILT || rt == PT_PHOT || rt == PT_BRAY;
return rt == PT_FILT || rt == PT_PHOT || rt == PT_BRAY || rt == PT_BIZR || rt == PT_BIZRG || rt == PT_BIZRS;
}

/* Returns true for particles that start a ray search ("dtec" mode)
Expand Down

0 comments on commit 708d543

Please sign in to comment.