From 3a937c1566ab04b5e9ebf4712d47e19a704539e3 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 17 Dec 2018 22:16:49 +0000 Subject: POC --- oscReceiveExample/src/ofApp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'oscReceiveExample/src/ofApp.cpp') diff --git a/oscReceiveExample/src/ofApp.cpp b/oscReceiveExample/src/ofApp.cpp index cd76ce5..3a83147 100644 --- a/oscReceiveExample/src/ofApp.cpp +++ b/oscReceiveExample/src/ofApp.cpp @@ -204,7 +204,7 @@ void ofApp::draw(){ ofSetColor(255,255,255); - if(poly.size()) poly.drawDebug(SHOWBLACK); + if(poly.size()) poly.drawDebug(debug_level); ofSetColor(255,255,255); @@ -231,10 +231,10 @@ void ofApp::keyPressed(int key){ create_polys+=10; break; case '[': - debug_level=max(NODEBUG,debug_level-1); + debug_level=max(NODEBUG,(line_debug_level)(debug_level-1)); break; case ']': - debug_level=min(SHOWALL,debug_level+1); + debug_level=min(CONSOLE,(line_debug_level)(debug_level+1)); break; } -- cgit v1.2.3