Allow python extensions to be loaded from app folder as well as user

* This will let us distribute extensions with the renderdoc builds.
This commit is contained in:
baldurk
2020-11-10 13:57:27 +00:00
parent bd5b79bd3a
commit 804fddcdf7
3 changed files with 152 additions and 131 deletions
@@ -55,6 +55,7 @@ public:
static void GlobalInit();
static void GlobalShutdown();
static QStringList GetApplicationExtensionsPaths();
static void ProcessExtensionWork(std::function<void()> callback);
static bool LoadExtension(ICaptureContext &ctx, const rdcstr &extension);
static void ConvertPyArgs(const ExtensionCallbackData &data,