Disable transmission pass if override material is enabled (#26944)
Original object materials are ignored in rendering in case an override material is used, so rendering the transmission pass is not necessary in this case.
This contribution is funded by https://higharc.com/