Depression can be a very unusual ailment: it impedes you from making certain decisions, but it also makes you do things you wouldn't do if you weren't experiencing it. I had a nervous breakdown in my early 20's after my first marriage failed. I was attending college, tried to keep a home with my then-husband, and also tried to deal with serious infidelity issues. Long story short, I wound up in the office of several therapists, had to take a variety of medicines, and had to change my lifestyle. I was diagnosed with depression, insomnia, and other health problems, and I found myself distancing myself from the things I used to enjoy. What saved me, however, was my passion for photography. Through this very dark episode in my life, I thrived by documenting my day-to-day struggle with depression, and while my struggle showed in my work, I find my photography while having depression very different-- rejuvenating even.
Personally, I don't think depression stops creativity completely, but it does affect your perception of things and it will show in your work.