mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Include parts in submodels in the 'Parts in Use' category. Fixes #436.
This commit is contained in:
parent
0ced302cd0
commit
be2f4caf65
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ void lcPartSelectionListModel::SetCurrentModelCategory()
|
|||
|
||||
lcModel* ActiveModel = gMainWindow->GetActiveModel();
|
||||
lcPartsList PartsList;
|
||||
ActiveModel->GetPartsList(gDefaultColor, false, true, PartsList);
|
||||
ActiveModel->GetPartsList(gDefaultColor, true, true, PartsList);
|
||||
|
||||
for (const auto& PartIt : PartsList)
|
||||
mParts.emplace_back(std::pair<PieceInfo*, QPixmap>((PieceInfo*)PartIt.first, QPixmap()));
|
||||
|
|
Loading…
Reference in a new issue