FP_LIB_TABLE_ROW::LibraryExists(): ensure environment variables are expanded

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19800
This commit is contained in:
jean-pierre charras
2025-01-31 09:14:42 +01:00
parent d4c9e1f069
commit 9e510759b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ void FP_LIB_TABLE_ROW::SetType( const wxString& aType )
bool FP_LIB_TABLE_ROW::LibraryExists() const
{
if( plugin )
return plugin->CanReadLibrary( GetFullURI() );
return plugin->CanReadLibrary( GetFullURI( true ) );
return false;
}
+1 -1
View File
@@ -121,7 +121,7 @@ std::optional<rectpack2D::rect_wh> spreadRectangles( rect_vector& vecSubRects, i
return result;
}
#include <wx/log.h>
void SpreadFootprints( std::vector<FOOTPRINT*>* aFootprints, VECTOR2I aTargetBoxPosition,
bool aGroupBySheet, int aComponentGap, int aGroupGap )
{