From 0e0e10d49ff57e45534a878d35bf1c70471cbb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20B=C3=BCrki?= Date: Tue, 7 Jul 2020 14:20:20 +0200 Subject: [PATCH] Add ifdef guards for skeleton version --- src/ofApp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ofApp.cpp b/src/ofApp.cpp index b5bf671..9b5d052 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -463,9 +463,10 @@ void ofApp::createHelp(){ helpStream << "press h -> to show help \n"; helpStream << "press s -> to save current settings.\n"; helpStream << "press l -> to load last saved settings\n"; +#ifdef BLOB helpStream << "press m -> to update mask image (currently" << (bUpdateImageMask ? " " : " not ") << "updating)\n"; - helpStream << "press r -> to show calculation results \n"; +#endif help = helpStream.str(); } @@ -500,10 +501,12 @@ void ofApp::keyPressed(int key){ break; case 'm': +#ifdef BLOB bUpdateImageMask = !bUpdateImageMask; if (bUpdateImageMask) { tracker.clearMask(); } +#endif break; case '1': -- GitLab