summaryrefslogtreecommitdiff
path: root/gui/src/ofApp.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-09-10 23:24:49 +0100
committerTim Redfern <tim@getdrop.com>2018-09-10 23:24:49 +0100
commita0b504d11542097843db77653d3e26516a892593 (patch)
tree5bec9beb2a84a831059ada24c5523f27193ee8e2 /gui/src/ofApp.cpp
parentfa5fc1eeaf7925024575f7154be1684534a62071 (diff)
lut blend
Diffstat (limited to 'gui/src/ofApp.cpp')
-rw-r--r--gui/src/ofApp.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp
index 89e92c8..059b498 100644
--- a/gui/src/ofApp.cpp
+++ b/gui/src/ofApp.cpp
@@ -59,6 +59,16 @@ void ofApp::setup(){
ofSetFrameRate(30); // if vertical sync is off, we can go a bit fast... this caps the framerate at 60fps.
+
+ if (arguments.size()>1){
+ vector<string> args;
+ for (int i=1;i<arguments.size();i++){
+ ofLog()<<"argument: "<<arguments[i];
+ args.push_back(arguments[i]);
+
+ }
+ sets[0].addfiles(args);
+ }
}
//--------------------------------------------------------------