In Texas an affair is not taken into consideration when discussing custody, unless the affair happened in front of the child or the child was abused or neglected as a result of the affair.