Pamela Anderson defends Tim Allen allegedly flashing her

Pamela Anderson doesn’t think Tim Allen had “bad intentions” when he allegedly flashed his penis at her on the “Home Improvement” set.

“Tim is a comedian, it’s his job to cross the line. I’m sure he had no bad intentions,” the actress wrote in a text message to Variety, per her cover story published Thursday.

“Times have changed, though,” the text continued. “I doubt anyone would try that post #MeToo. It’s a new world.”

Anderson, 55, claims in her “Love, Pamela” memoir, which hits bookstores Jan. 31, that she walked out of her dressing room on her first day of filming the ABC sitcom in 1991 to find Allen wearing a robe.

Pamela Anderson hugging Tim Allen in a "Home Improvements" 毕业 ارواب 模型照片.
Pamela Anderson defended Tim Allen after accusing him of flashing her.
©Touchstone Television/Courtesy
Pamela Anderson holding a pitchfork on the "Home Improvements" set with Mickey Jones and Tim Allen.
The actress doesn’t think Allen had “bad intentions.”
©Touchstone Television/Courtesy

“He opened his robe and flashed me quickly — completely naked underneath,” the “Baywatch” alum writes.

When the comedian allegedly told Anderson that his exposure was “only fair” because he had seen her nude, most likely referencing her Playboy covers, she “laughed uncomfortably.”

Allen, 69, denied flashing the model in a statement to Variety last week.

“No, it never happened,” the “Last Man Standing” alum said. “I would never do such a thing.”

Pamela Anderson wearing overalls on the "Home Improvements" set with Tim Allen and Debbe Dunning.
Allen denied Anderson’s claim.
©Touchstone Television/Courtesy

But on Tuesday, a throwback clip of Allen and his “Home Improvement” co-star Patricia Richardson went viral, in which the actor lifted his kilt in his TV wife’s direction.

Richardson, 71, afterward clarified to TMZ that Allen was “well-dressed” in the blooper.

Tim Allen, Richard Karn and Pamela Anderson act alongside each other in "Home Improvement"
The interaction allegedly took place in 1991.
©Touchstone Television/Courtesy

“I was just shocked that he lifted the kilt, not by a man in boxer shorts,” she said.

Allen isn’t the only A-lister featured in Anderson’s memoir, with stories about Jack Nicholson having a threesome at the Playboy Mansion and her “difficult” divorce from Tommy Lee already making headlines.

“Love, Pamela” comes out in the US on the same day that Anderson’s documentary, “Pamela, A Love Story,” premieres on Netflix.