He's finally got his priorities straight.

Ben Affleck arrived for a meeting this afternoon in LA and seemed more focused than he has in months, which must be a huge relief for his friends, family, and colleagues.

The Oscar winner recently ended his fling with Playboy model Shauna Sexton, and is doing his best to repair his image and make a real Hollywood comeback.

An insider tells X17:
    "Ben realized he was becoming a joke to his peers, and that was what scared him straight. He dumped Shauna because she wasn't good for his image - plain and simple. He actually enjoyed spending time with her, but he caught word people were laughing behind his back, and that's when he pulled the plug."

We're rooting for him, and we hope this time around, he sticks with his sobriety.