Skip to content

[HDRP][Compositor] Fix issue with gameview repaint #2617

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

Merged
merged 2 commits into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed issue with density volumes flickering when editing shape box.
- Fixed issue with image layers in the graphics compositor (case 1289936).
- Fixed issue with angle fading when rotating decal projector.
- Fixed issue with gameview repaint in the graphics compositor (case 1290622).

## [10.2.0] - 2020-10-19

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ void Update()
if (compositor.timeSinceLastRepaint > timeThreshold)
{
compositor.Repaint();
#if UNITY_2021_1_OR_NEWER
// [case 1290622] For version 2021.1 we have to explicitely request an update of the gameview with the following call
UnityEditorInternal.InternalEditorUtility.RepaintAllViews();
#endif
}
}

Expand Down