ObjToken refactor and Sample nodes

This commit is contained in:
Jack Andersen
2018-07-28 17:37:06 -10:00
parent f5984141fd
commit 16745c9bf8
38 changed files with 845 additions and 460 deletions

View File

@@ -5,6 +5,7 @@
#include "MainWindow.hpp"
#include "boo/IApplication.hpp"
#include <QResource>
#include <QCommandLineParser>
using namespace std::literals;
@@ -101,5 +102,12 @@ int main(int argc, char* argv[])
MainWindow w;
g_MainWindow = &w;
w.show();
QCommandLineParser parser;
parser.process(a);
QStringList args = parser.positionalArguments();
if (!args.empty())
w.openProject(args.back());
return a.exec();
}