From b28a850a8ab4532ee425439446f5b4e01f9471a9 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 18 Sep 2017 22:32:45 +0100 Subject: threading working --- gui/src/ofApp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gui/src/ofApp.cpp') diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp index 2e8fe90..3cc4878 100644 --- a/gui/src/ofApp.cpp +++ b/gui/src/ofApp.cpp @@ -38,6 +38,9 @@ void ofApp::setup(){ sets.push_back(chainImageSet()); sets.push_back(chainImageSet()); selected_set=0; + + sets[0].init(); + sets[1].init(); } //-------------------------------------------------------------- @@ -71,7 +74,7 @@ void ofApp::draw(){ void ofApp::drawOutput(ofEventArgs & args){ ofBackground(0,0,0); -for (int i=0;i