mirror of
https://github.com/leozide/leocad
synced 2025-01-14 08:01:45 +01:00
Fixed loading primitives from ldrawunf.zip.
This commit is contained in:
parent
594422315a
commit
6042cb8188
1 changed files with 1 additions and 1 deletions
|
@ -1370,7 +1370,7 @@ void lcPiecesLibrary::GetPieceFile(const char* PieceName, std::function<void(lcF
|
|||
if (!Found)
|
||||
Found = LoadIncludeFile("ldraw/p/%s", lcZipFileType::Official);
|
||||
|
||||
if (mHasUnofficial && !Found)
|
||||
if (mZipFiles[static_cast<int>(lcZipFileType::Unofficial)] && !Found)
|
||||
{
|
||||
Found = LoadIncludeFile("parts/%s", lcZipFileType::Unofficial);
|
||||
|
||||
|
|
Loading…
Reference in a new issue