Skip to content

Commit

Permalink
Fix #18467: "Selected only" filter is active in Track Designs Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbckrtn committed Dec 31, 2022
1 parent 09c8e47 commit bb1c5d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion distribution/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------------------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions src/openrct2-ui/windows/EditorObjectSelection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1307,6 +1307,11 @@ class EditorObjectSelectionWindow final : public Window

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;
Expand Down

0 comments on commit bb1c5d8

Please sign in to comment.