ON_Material == operator bug?

The == operator appears to ignore the m_bDisableLighting state of the materials. This means comparison with the old_setting gives an incorrect result.

Is that expected?

This may be a bug. But it is already fixed in the WIP code, so I won’t bother filing a bug report.