Skip to content

Commit b094bee

Browse files
Fix rendering of custom passes in the Custom Pass Volume inspector #1824
1 parent cd866be commit b094bee

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2929
- Fixed issue when undoing a change in diffuse profile list after deleting the volume profile.
3030
- Fixed a static lighting flickering issue caused by having an active planar probe in the scene while rendering inspector preview.
3131
- Fixed an issue where even when set to OnDemand, the sky lighting would still be updated when changing sky parameters.
32+
- Fixed SSS materials appearing black in matcap mode.
33+
- Fixed rendering of custom passes in the Custom Pass Volume inspector
3234

3335
### Changed
3436
- Remove MSAA debug mode when renderpipeline asset has no MSAA

com.unity.render-pipelines.high-definition/Editor/RenderPipeline/CustomPass/CustomPassDrawer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ protected virtual void DoPassGUI(SerializedProperty customPass, Rect rect)
196196
{
197197
foreach (var prop in m_CustomPassUserProperties)
198198
{
199-
EditorGUI.PropertyField(rect, prop);
200-
rect.y += Styles.defaultLineSpace;
199+
EditorGUI.PropertyField(rect, prop, true);
200+
rect.y += EditorGUI.GetPropertyHeight(prop);
201201
}
202202
}
203203

0 commit comments

Comments
 (0)