From fa660250248d36611649e71cecffd7b68c0765ab Mon Sep 17 00:00:00 2001 From: ZachHaber Date: Tue, 17 Jan 2017 17:05:22 -0600 Subject: [PATCH] Adding basePath to python plugins Adds the virtual function override to the boost python wrapper. --- .gitignore | 1 + src/runner/uibasewrappers.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index bcc50d3..8e59a94 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ CMakeLists.txt.user edit build std*.log +*.bak diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index f98c6a3..40fc76e 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -218,6 +218,10 @@ struct IOrganizerWrapper : MOBase::IOrganizer, { return this->get_override("overwritePath")(); } + virtual QString basePath() const override + { + return this->get_override("basePath")(); + } virtual MOBase::VersionInfo appVersion() const override { return this->get_override("appVersion")();