Add back Mac special-case to GetStockPlugins3DPath
3D plugins are not like other plugins Fixes https://gitlab.com/kicad/code/kicad/-/issues/7750
This commit is contained in:
parent
38c849bde7
commit
7a4f5be37e
|
@ -197,6 +197,8 @@ wxString PATHS::GetStockPlugins3DPath()
|
||||||
fn.Assign( tfname, "" );
|
fn.Assign( tfname, "" );
|
||||||
fn.AppendDir( wxT( "kicad" ) );
|
fn.AppendDir( wxT( "kicad" ) );
|
||||||
fn.AppendDir( wxT( "plugins" ) );
|
fn.AppendDir( wxT( "plugins" ) );
|
||||||
|
#elif defined( __WXMAC__ )
|
||||||
|
fn.Assign( wxStandardPaths::Get().GetPluginsDir(), wxEmptyString );
|
||||||
#else
|
#else
|
||||||
fn.Assign( PATHS::GetStockPluginsPath() );
|
fn.Assign( PATHS::GetStockPluginsPath() );
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue