Need an attorney to respond, please

Is it possible for a judge to refuse to hear evidence of adultery? My attorney informed me prior to trial that the judge had refused to allow evidence of adultery to be presented. Would the only way for this not to be allowed would be some type of agreement among the attorneys?

There is divisible property in my case. However, the judge ruled that the divisible property had already been distributed via the Post Separation Support/Child Support Order. Our exhibits and expert accountant, using income tax records, refuted this contention. Judge said property would not be distributed and would be “double dipping” to distribute said property again. NOW, the order has come back with the judge’s rulings changed by opposing council stating the divisible property will be distributed entirely to my ex giving him an unequal distribution—in his favor. This is insane. Please comment.
Thanks.