Skip to content

Commit 84c790c

Browse files
authored
Merge pull request #185 from Unity-Technologies/fix_keypointlabeler_ui
Fix Post State Configs not showing up in 2019.4
2 parents aed7fbd + 29b64c8 commit 84c790c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

com.unity.perception/Editor/GroundTruth/CameraLabelerDrawer.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ protected virtual void DoLabelerGUI(Rect rect)
9999
{
100100
foreach (var prop in m_LabelerUserProperties)
101101
{
102-
EditorGUI.PropertyField(rect, prop);
103-
rect.y += Styles.defaultLineSpace;
102+
EditorGUI.PropertyField(rect, prop, true);
103+
var height = EditorGUI.GetPropertyHeight(prop) + EditorGUIUtility.standardVerticalSpacing;
104+
rect.y += height;
104105
}
105106
}
106107

0 commit comments

Comments
 (0)