From 7a56608cd54627fac1d080c461d8880a34b56a6d Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 29 Jan 2021 18:44:13 +0100 Subject: [PATCH] Fix incorrect path of 3d stock plugins. Fixes #7330 https://gitlab.com/kicad/code/kicad/issues/7330 --- common/paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/paths.cpp b/common/paths.cpp index bc892b0f73..eb7fb6f1dd 100644 --- a/common/paths.cpp +++ b/common/paths.cpp @@ -165,7 +165,7 @@ wxString PATHS::GetStockPluginsPath() fn.AppendDir( wxT( "Contents" ) ); fn.AppendDir( wxT( "PlugIns" ) ); #elif defined( __WXMSW__ ) - fn.Assign( Pgm().GetExecutablePath() + wxT( "../plugins/" ) ); + fn.Assign( Pgm().GetExecutablePath() + wxT( "/plugins/" ) ); #else // PLUGINDIR = CMAKE_INSTALL_FULL_LIBDIR path is the absolute path // corresponding to the install path used for constructing KICAD_USER_PLUGIN