diff --git a/src/ofApp.cpp b/src/ofApp.cpp index afe7bb245023bcd5c5ff4d2cc310b74cb83cf856..6be18e92d96ab9f50b16cbb5695d68e00203f9e4 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -476,11 +476,13 @@ void ofApp::keyPressed(int key){ switch (key) { case ' ': break; - + +#ifdef BLOB case 'p': bDisplayBlobTrackerVision = !bDisplayBlobTrackerVision; break; - +#endif + case 'v': bShowVisuals = !bShowVisuals; break; diff --git a/src/ofApp.h b/src/ofApp.h index 06c5624c9093f8d7bcb83c4f0f5a98f7c8dd8fa3..18c00016d39a9416efda0f289260a92f002e5033 100644 --- a/src/ofApp.h +++ b/src/ofApp.h @@ -134,7 +134,7 @@ public: void drawPreview(); #ifdef BLOB - bool bPreviewPointCloud = false; + bool bDisplayBlobTrackerVision = false; void drawCapturePointCloud(bool mask); #endif