Skip to content

Conversation

@johnpars
Copy link
Contributor

Purpose of this PR

Cases: 1304176, 1301076 (Duplicates)

This PR fixes the consistency of UI undo/redo behavior for light temperature.

It's a bit tough to convey the Undo/Redo keyboard action, but a gif included below attempting to demonstrate the corrected behavior:
FixUndoRedo


Testing status

Confirmed the intended undo/redo behavior for light temperature, tested on single selection, multi selection, and changing the serialized value via the slider, float input field, and context menu.


Comments to reviewers

The issue happened due to always writing the slider output into the light temperature, when it should have only been done when the slider is changed (note, the other sliders already do this, which is why the undo/redo for them was already correct).

JulienIgnace-Unity and others added 13 commits January 8, 2021 14:01
* Not checking NdotL since it's not really valid for area lights (We have multiple valid light directions, not one)

* Changelog

Co-authored-by: sebastienlagarde <[email protected]>
* Fixed ShaderGraph decal draw order

* Updated changelog

Co-authored-by: sebastienlagarde <[email protected]>
* Fixed access to invalid Contexts references after exiting playmode.

* Fixed comparison gizmo after playmode.

* Fixes from PR feedback
… conserving specular color option for the specular input parametrization (similar to case 1257050) (#3060)
* adding a shadow mask test

* Update reference images
Copy link
Contributor

@RSlysz RSlysz left a comment

Choose a reason for hiding this comment

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

lgtm

Base automatically changed from hd/bugfix to master January 14, 2021 10:52
@sebastienlagarde sebastienlagarde changed the base branch from master to hd/bugfix January 14, 2021 13:21
@sebastienlagarde sebastienlagarde marked this pull request as ready for review January 14, 2021 13:24
@sebastienlagarde sebastienlagarde merged commit 525ebf5 into hd/bugfix Jan 14, 2021
@sebastienlagarde sebastienlagarde deleted the HDRP/fix-temperature-undo branch January 14, 2021 13:24
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.

10 participants