summaryrefslogtreecommitdiff
path: root/oscReceiveExample
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-12-17 22:16:49 +0000
committerTim Redfern <tim@getdrop.com>2018-12-17 22:16:49 +0000
commit3a937c1566ab04b5e9ebf4712d47e19a704539e3 (patch)
tree7a6adca7ea01b9e5272976c238c275b69346ca4d /oscReceiveExample
parent1369877fa5dfa46f54cc3ffc3d231e661505105c (diff)
POC
Diffstat (limited to 'oscReceiveExample')
-rw-r--r--oscReceiveExample/src/ofApp.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}