Use EnvVar resolver not full resolver when expanding 3D search paths.
Fixes https://gitlab.com/kicad/code/kicad/issues/7670
This commit is contained in:
parent
4447843dc1
commit
38e1e780a8
|
@ -634,7 +634,7 @@ bool FILENAME_RESOLVER::WritePathList( const wxString& aDir, const wxString& aFi
|
|||
cfgFile << "\"" << tstr.size() << ":" << tstr << "\",";
|
||||
|
||||
if( aResolvePaths )
|
||||
tstr = ResolvePath( sPL->m_Pathvar ).ToUTF8();
|
||||
tstr = ExpandEnvVarSubstitutions( sPL->m_Pathvar, m_project ).ToUTF8();
|
||||
else
|
||||
tstr = sPL->m_Pathvar.ToUTF8();
|
||||
|
||||
|
|
Loading…
Reference in New Issue