Skip to content

Commit a8c52c7

Browse files
Fix property field drawing in custom pass volume (#1824)
Co-authored-by: sebastienlagarde <[email protected]>
1 parent 84fb526 commit a8c52c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8484
- Fixed "Screen position out of view frustum" error when camera is on exactly the planar reflection probe plane.
8585
- Workaround issue that caused objects using eye shader to not be rendered on xbox.
8686
- Fixed text in cascades shadow split being truncated.
87+
- Fixed rendering of custom passes in the Custom Pass Volume inspector
8788

8889
### Changed
8990
- Preparation pass for RTSSShadows to be supported by render graph.

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)