Skip to content

Commit 7c60ee0

Browse files
Fix rendering of custom passes in the Custom Pass Volume inspector #1824
1 parent bbfbf7d commit 7c60ee0

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
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1212
### Fixed
1313
- Fixed a null ref exception when baking reflection probes.
1414
- Fixed shadow resolution settings level in the light explorer.
15+
- Fixed rendering of custom passes in the Custom Pass Volume inspector
1516

1617
## [7.5.1] - 2020-09-02
1718

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
@@ -199,8 +199,8 @@ protected virtual void DoPassGUI(SerializedProperty customPass, Rect rect)
199199
{
200200
foreach (var prop in m_CustomPassUserProperties)
201201
{
202-
EditorGUI.PropertyField(rect, prop);
203-
rect.y += Styles.defaultLineSpace;
202+
EditorGUI.PropertyField(rect, prop, true);
203+
rect.y += EditorGUI.GetPropertyHeight(prop);
204204
}
205205
}
206206

0 commit comments

Comments
 (0)