mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Fixed loading primitives from ldrawunf.zip.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user