Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove decoy checkbox on "Enable Water Mask" #1591

Merged
merged 3 commits into from
Feb 1, 2025
Merged

Conversation

azrogers
Copy link
Contributor

@azrogers azrogers commented Jan 23, 2025

Fixes #1538. There's currently a decoy checkbox on "Enable Water Mask" resulting from the EditCondition flag on the UPROPERTY. I believe this checkbox is actually controlling the bIsMac boolean that the EditCondition flag points to, but not only do we not want this to be a choice the user can make - the system doesn't suddenly become a Mac when the user unchecks the box! - but it also causes confusion between it and the actual "Enable Water Mask" checkbox that truly enables or disables the feature. This change uses CanEditChange to handle the EditCondition instead, removing the extra checkbox and also as a side effect removing the need for a bIsMac editor field.

@kring kring added this to the February 2025 Release milestone Jan 31, 2025
@j9liu
Copy link
Contributor

j9liu commented Jan 31, 2025

@kring do you mind checking this one since it's Mac related? 😛

@kring
Copy link
Member

kring commented Feb 1, 2025

The checkbox is still correctly disabled on the Mac:
image

Also, if I remove all the Mac checks, then the water effect actually works now! This is UE 5.3 on an M4 Max MacBook Pro. I'll write a separate issue for us to consider re-enabling it.
image

@kring
Copy link
Member

kring commented Feb 1, 2025

Thanks @azrogers!

@kring kring merged commit 1044f5c into main Feb 1, 2025
14 checks passed
@kring kring deleted the water-mask-checkbox branch February 1, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cesium3DTileset's "Enable Water Mask" option has a decoy checkbox
3 participants