diff options
Diffstat (limited to 'gui/src/ofApp.cpp')
| -rw-r--r-- | gui/src/ofApp.cpp | 10 |
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); + } } //-------------------------------------------------------------- |
