From 1369877fa5dfa46f54cc3ffc3d231e661505105c Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 12 Dec 2018 21:57:21 +0000 Subject: update oF --- oscReceiveExample/src/ofApp.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'oscReceiveExample/src/ofApp.cpp') 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; } } -- cgit v1.2.3