From bb1c5d8ca8f23134e2fc13feab054794ff19b986 Mon Sep 17 00:00:00 2001 From: mdbckrtn Date: Sat, 31 Dec 2022 08:10:38 -0500 Subject: [PATCH] Fix #18467: "Selected only" filter is active in Track Designs Manager --- contributors.md | 1 + distribution/changelog.txt | 3 ++- src/openrct2-ui/windows/EditorObjectSelection.cpp | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/contributors.md b/contributors.md index 92818ab9b2..c728cff150 100644 --- a/contributors.md +++ b/contributors.md @@ -204,6 +204,7 @@ The following people are not part of the development team, but have been contrib * Xixiang Chen (jacknull1991) * (ReticulatingSplines) * Conrad Cash (HouseholdVTuber) +* Michael Bickerton (mdbckrtn) ## Toolchain diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 6aa7d74cfc..f6c867632a 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -4,7 +4,8 @@ - Feature: [#18732] [Plugin] API to get the guests thoughts. - Feature: [#18744] Cheat to allow using a regular path as a queue path. - Improved: [#18826] [Plugin] Added all actions and their documentation to plugin API. -- Fix: [#18911] Update mini golf fencing to draw correctly from all angles. +- Fix: [#18467] “Selected only” Object Selection filter is active in Track Designs Manager, and cannot be toggled. +- Fix: [#18911] Mini Golf station does not draw correctly from all angles. 0.4.3 (2022-12-14) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/windows/EditorObjectSelection.cpp b/src/openrct2-ui/windows/EditorObjectSelection.cpp index 1f37bc4ee1..8adef93abc 100644 --- a/src/openrct2-ui/windows/EditorObjectSelection.cpp +++ b/src/openrct2-ui/windows/EditorObjectSelection.cpp @@ -1307,6 +1307,11 @@ private: bool FilterSelected(uint8_t objectFlag) { + // Track Manager has no concept of selection filtering, so always return true + if (gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER) + { + return true; + } if (_FILTER_SELECTED == _FILTER_NONSELECTED) { return true;