Make LDTC copy BIZR, BIZRG and BIZRG's wavelength too. (#936)

This commit is contained in:
Cracker1000 2024-01-15 11:48:16 +05:30 committed by GitHub
parent 00602f58a0
commit 708d543d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)