summaryrefslogtreecommitdiff
path: root/oscReceiveExample/src/ofApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'oscReceiveExample/src/ofApp.cpp')
-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;
}