The professor was correct for chiding the student. When you present your senior thesis, you should be professionally attired, or at least, not dressed in cut offs. She only compounded her error by stripping to her underwear - which reveals that she is mentally unstable.
“Chiding”
You are kidding, right.
If I were the prof I would not have said a word. I would just have given them an F on the thesis.
Actions speak louder than words.