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.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/oscReceiveExample/src/ofApp.cpp b/oscReceiveExample/src/ofApp.cpp
index b7dbc8f..cd76ce5 100644
--- a/oscReceiveExample/src/ofApp.cpp
+++ b/oscReceiveExample/src/ofApp.cpp
@@ -27,6 +27,8 @@ void ofApp::setup(){
copy_polys=1000;
create_polys=0;
+ debug_level=NODEBUG;
+
ofSetFrameRate(60);
}
@@ -228,6 +230,12 @@ void ofApp::keyPressed(int key){
case '>':
create_polys+=10;
break;
+ case '[':
+ debug_level=max(NODEBUG,debug_level-1);
+ break;
+ case ']':
+ debug_level=min(SHOWALL,debug_level+1);
+ break;
}
}