From 943bfa53cf5df0ecc9b04967a61be17c64e33e77 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 3 Feb 2014 13:47:05 +0000 Subject: bug chasing --- rotord/src/cvimage.h | 4 ++++ rotord/src/graph.cpp | 21 ++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) (limited to 'rotord') diff --git a/rotord/src/cvimage.h b/rotord/src/cvimage.h index 25cf3e8..1210744 100644 --- a/rotord/src/cvimage.h +++ b/rotord/src/cvimage.h @@ -130,6 +130,10 @@ namespace Rotor { return true; }; bool setup(int _w,int _h){ //set up with internal data + if (_w==0||_h==0) { + std::cerr<<"Error! cvimage: request to set up image at "<<_w<<"x"<<_h<segment_end&&use_dash){ + exporter.finishRecord(); + if (vf