# HG changeset patch # User Chris Cannam # Date 1433938154 -3600 # Node ID ec6e7f0f3f5beaeaf1e008073efafa18e765f5fa # Parent 106081811ccd75a40475cd6c5ba8dee251aa63f0 Comment diff -r 106081811ccd -r ec6e7f0f3f5b data/model/FFTModel.h --- a/data/model/FFTModel.h Wed Jun 10 13:08:30 2015 +0100 +++ b/data/model/FFTModel.h Wed Jun 10 13:09:14 2015 +0100 @@ -118,6 +118,9 @@ return const_cast(this)->getMagnitudeAt(x, y); } virtual bool isOK() const { + // Return true if the model was constructed successfully (not + // necessarily whether an error has occurred since + // construction, use getError for that) return m_server && m_server->getModel(); } virtual sv_frame_t getStartFrame() const {