From 164902fa76efac9f88bbd9aa6cbd1eb8c3fa00fb Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 21 May 2013 18:58:39 -0400 Subject: code comments diff --git a/src/parsersettings.cc b/src/parsersettings.cc index b2ef1fa..48a6cf8 100644 --- a/src/parsersettings.cc +++ b/src/parsersettings.cc @@ -42,11 +42,15 @@ void parser_init(const std::string &applicationpath) } } + // This is the built-in user-writable library path #ifndef OPENSCAD_TESTING + // This will resolve to ~/Documents on Mac, "My Documents" on Windows and + // ~/.local/share on Linux fs::path docdir(PlatformUtils::documentsPath()); add_librarydir(boosty::stringy(docdir / "OpenSCAD" / "libraries")); #endif + // This is the built-in read-only library path std::string librarydir; fs::path libdir(applicationpath); fs::path tmpdir; -- cgit v0.10.1