Skip to content

Conversation

kecho
Copy link
Contributor

@kecho kecho commented Feb 24, 2021

Purpose of this PR

https://fogbugz.unity3d.com/f/cases/1315452/

Fixing order of settings in the UI. Orders were a bit messed on on the attribute. This attribute is safe to modify since its entirely used for UI purposes.


Testing status

Checked ordering is as expected, and enum Refraction isn't hidden anymore.

image

@kecho kecho marked this pull request as draft February 24, 2021 03:54
@github-actions github-actions bot added the HDRP label Feb 24, 2021
@kecho kecho requested a review from victorsclui February 24, 2021 03:54
@Unity-Technologies Unity-Technologies deleted a comment from github-actions bot Feb 24, 2021
Ignoring enums that are tagged as obsolete.
@kecho kecho force-pushed the hdrp/frame-settings-ordering-fix-1315452 branch from b89f5e1 to 13d36e6 Compare February 24, 2021 04:27
Copy link
Contributor

@victorsclui victorsclui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good and is very complete since we also make sure FrameSettingsFieldAttribute have the correct displayedName field.

Besides the comment about static dictionary reuse, since we are adding a static constructor, this sharing from the DOTS team may be of interest (https://unity.slack.com/archives/CE7DZN2H1/p1592525582345000).

@sebastienlagarde sebastienlagarde requested a review from a team February 24, 2021 22:39
@sebastienlagarde
Copy link
Contributor

Please add a changelog

@kecho
Copy link
Contributor Author

kecho commented Feb 25, 2021

Changelog added

@kecho kecho force-pushed the hdrp/frame-settings-ordering-fix-1315452 branch from ecaee73 to 855a977 Compare February 25, 2021 00:51
Copy link
Contributor

@remi-chapelain remi-chapelain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested that the refraction frame settings worked and had the proper behavior (i.e fallback to opaque for every material that has a refraction flag)

@sebastienlagarde sebastienlagarde merged commit 22b4a1d into hd/bugfix Feb 25, 2021
@sebastienlagarde sebastienlagarde deleted the hdrp/frame-settings-ordering-fix-1315452 branch February 25, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants