It is quite a contradiction to believe a person can be a bad partner but a good parent.  Occasionally being loving and kind to a child and ensuring their material needs are met is the easy part of parenting.  However, role modelling, providing an emotionally and physically safe environment and teaching them about respect for others is equally important.  A child who sees an unhealthy relationship between their parents will not learn the value of a healthy relationship.  Nor will they know how to have one.  Consider if this is what you want for your child’s future and balance this against the role modelling s/he is currently experiencing.  Will the events happening now lead to what you dream of for their future?