diff options
| author | Tim Redfern <tim@getdrop.com> | 2017-09-18 22:32:45 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2017-09-18 22:32:45 +0100 |
| commit | b28a850a8ab4532ee425439446f5b4e01f9471a9 (patch) | |
| tree | 21609dc7bf5a96336fbb4e071e0c15146d57caa5 /gui/src/ofApp.cpp | |
| parent | b4972d6ba659cec3759fd87d6f0489a040e0fbf6 (diff) | |
threading working
Diffstat (limited to 'gui/src/ofApp.cpp')
| -rw-r--r-- | gui/src/ofApp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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<sets.size();i++){ + for (int i=0;i<sets.size();i++){ sets[i].drawOutput(); } |
