There is a world of grey in between the white of accepting his obvious affair, and the black of "flying off the handle."
Simply lay out a boundary -- "I will not accept another woman in our marital home and around our daughter. It's incredibly disrespectful to me, to our marriage, and to our family. If it happens again, I will expose your obvious affair and file for divorce immediately."