Added support for hiding redundant train tracks from the picker.

This commit is contained in:
Leonardo Zide
2025-03-20 12:41:20 -07:00
parent 228fb79667
commit bf22ed8f05
6 changed files with 118 additions and 79 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ lcTrainTrackPickerPopup::lcTrainTrackPickerPopup(QWidget* Parent, const lcTrainT
mPartSelectionListView->setMinimumWidth(450);
mPartSelectionListView->setDragEnabled(false);
std::vector<PieceInfo*> Parts = lcGetPiecesLibrary()->GetTrainTrackParts(ConnectionType);
std::vector<PieceInfo*> Parts = lcGetPiecesLibrary()->GetVisibleTrainTrackParts(ConnectionType);
mPartSelectionListView->SetCustomParts(Parts);