diff options
author | Marius Kintel <marius@kintel.net> | 2014-01-07 20:44:28 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2014-01-07 20:44:28 (GMT) |
commit | 20938506b6eb7bb9ee6d211df8b067c9fead47d4 (patch) | |
tree | 01b7f8715d56b4b12e1bc6cc55d2affa116f2ef0 /src/openscad.cc | |
parent | f7a633c57fe71228518f4429acd6bf0751706918 (diff) |
Mac fix: We need to use bundled resources when running bundled apps in cmd-line node
Diffstat (limited to 'src/openscad.cc')
-rw-r--r-- | src/openscad.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index 3fddd5e..d53cdb4 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -206,7 +206,7 @@ int cmdline(const char *deps_output_file, const std::string &filename, Camera &c #else const std::string application_path = boosty::stringy(boosty::absolute(boost::filesystem::path(argv[0]).parent_path())); #endif - parser_init(application_path, false); + parser_init(application_path); Tree tree; #ifdef ENABLE_CGAL CGALEvaluator cgalevaluator(tree); @@ -516,7 +516,7 @@ int gui(vector<string> &inputFiles, const fs::path &original_path, int argc, cha qexamplesdir = exdir.path(); } MainWindow::setExamplesDir(qexamplesdir); - parser_init(app_path.toLocal8Bit().constData(), true); + parser_init(app_path.toLocal8Bit().constData()); #ifdef Q_WS_MAC installAppleEventHandlers(); |