blob: fc5a89d2c93d01fdeec2983469d9a807cb743a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- a/model/src/plugin_loader.cpp
+++ b/model/src/plugin_loader.cpp
@@ -492,15 +492,15 @@ bool PluginLoader::LoadPluginCandidate(const wxString& file_name,
if (!base_plugin_path.EndsWith(wxFileName::GetPathSeparator()))
base_plugin_path += wxFileName::GetPathSeparator();
- if (!g_bportable) {
- if (base_plugin_path.IsSameAs(plugin_file_path)) {
- if (!IsSystemPluginPath(file_name.ToStdString())) {
- DEBUG_LOG << "Skipping plugin " << file_name << " in "
- << g_BasePlatform->GetPluginDir();
- return false;
- }
- }
- }
+ // if (!g_bportable) {
+ // if (base_plugin_path.IsSameAs(plugin_file_path)) {
+ // if (!IsSystemPluginPath(file_name.ToStdString())) {
+ // DEBUG_LOG << "Skipping plugin " << file_name << " in "
+ // << g_BasePlatform->GetPluginDir();
+ // return false;
+ // }
+ // }
+ // }
if (!IsSystemPluginPath(file_name.ToStdString()) && safe_mode::get_mode()) {
DEBUG_LOG << "Skipping plugin " << file_name << " in safe mode";
|