Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
fixed duplicate global profile entry in the camera system profile ins…
Browse files Browse the repository at this point in the history
…pector (#547)
  • Loading branch information
StephenHodgson authored Apr 26, 2020
1 parent fde5549 commit bc05757
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ public override void OnInspectorGUI()

EditorGUI.BeginChangeCheck();

if (globalCameraProfile.FoldoutWithBoldLabelPropertyField(generalSettingsFoldoutHeader))
{
EditorGUI.indentLevel++;
EditorGUILayout.PropertyField(globalCameraProfile);
EditorGUI.indentLevel--;
}
globalCameraProfile.FoldoutWithBoldLabelPropertyField(generalSettingsFoldoutHeader);

EditorGUILayout.Space();

Expand Down

0 comments on commit bc05757

Please sign in to comment.