Skip to content

Commit 6906070

Browse files
Fix debug window reset (#6325)
* Fix debug window reset * Don't add component * Revert "Don't add component" This reverts commit 765b93b. Co-authored-by: JulienIgnace-Unity <[email protected]>
1 parent 94bd87d commit 6906070

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

com.unity.render-pipelines.core/Editor/Debugging/DebugWindow.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ void OnGUI()
378378
if (GUILayout.Button(Styles.resetButtonContent, EditorStyles.toolbarButton))
379379
{
380380
DebugManager.instance.Reset();
381+
DestroyWidgetStates();
382+
UpdateWidgetStates();
381383
InternalEditorUtility.RepaintAllViews();
382384
}
383385

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3535
- Fixed broken rendering when duplicating a camera while the Rendering Debugger is opened.
3636
- Fixed screen space shadow debug view not showing when no shadows is available.
3737
- Fixed nullref from debug menu in release build (case 1381556).
38+
- Fixed debug window reset.
3839

3940
### Changed
4041
- Optimizations for the physically based depth of field.

0 commit comments

Comments
 (0)