Moved all post/pre processor into their own directory.

This commit is contained in:
Markus Lampert
2017-06-18 17:45:59 -07:00
parent a0d3d020eb
commit 074d012ec3
18 changed files with 33 additions and 19 deletions

View File

@@ -83,7 +83,7 @@ private:
try {
std::string path = App::GetApplication().getHomePath();
path += "Mod/Path/PathScripts/";
path += "Mod/Path/PathScripts/post/";
QDir dir1(QString::fromUtf8(path.c_str()), QString::fromLatin1("*_pre.py"));
std::string cMacroPath = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetASCII("MacroPath",App::Application::getUserMacroDir().c_str());
@@ -150,7 +150,7 @@ private:
try {
std::string path = App::GetApplication().getHomePath();
path += "Mod/Path/PathScripts/";
path += "Mod/Path/PathScripts/post/";
QDir dir1(QString::fromUtf8(path.c_str()), QString::fromLatin1("*_pre.py"));
std::string cMacroPath = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetASCII("MacroPath",App::Application::getUserMacroDir().c_str());
@@ -226,7 +226,7 @@ private:
throw Py::RuntimeError("No object to export");
std::string path = App::GetApplication().getHomePath();
path += "Mod/Path/PathScripts/";
path += "Mod/Path/PathScripts/post/";
QDir dir1(QString::fromUtf8(path.c_str()), QString::fromLatin1("*_post.py"));
std::string cMacroPath = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetASCII("MacroPath",App::Application::getUserMacroDir().c_str());