Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions com.unity.render-pipelines.universal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Version Updated
The version number for this package has increased due to a version update of a related graphics package.

### Fixed
- Fixed an undo issues for additional light property on the UniversalRenderPipeline Asset.

## [10.3.1] - 2020-01-26

Version Updated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ internal class Styles

SerializedProperty m_ShaderVariantLogLevel;

LightRenderingMode selectedLightRenderingMode;
SerializedProperty m_ColorGradingMode;
SerializedProperty m_ColorGradingLutSize;

Expand Down Expand Up @@ -216,8 +215,6 @@ void OnEnable()

m_UseAdaptivePerformance = serializedObject.FindProperty("m_UseAdaptivePerformance");

selectedLightRenderingMode = (LightRenderingMode)m_AdditionalLightsRenderingModeProp.intValue;

string Key = "Universal_Shadow_Setting_Unit:UI_State";
m_State = new EditorPrefBoolFlags<EditorUtils.Unit>(Key);
}
Expand Down Expand Up @@ -305,8 +302,7 @@ void DrawLightingSettings()
EditorGUILayout.Space();

// Additional light
selectedLightRenderingMode = (LightRenderingMode)EditorGUILayout.EnumPopup(Styles.addditionalLightsRenderingModeText, selectedLightRenderingMode);
m_AdditionalLightsRenderingModeProp.intValue = (int)selectedLightRenderingMode;
EditorGUILayout.PropertyField(m_AdditionalLightsRenderingModeProp, Styles.addditionalLightsRenderingModeText);
EditorGUI.indentLevel++;

disableGroup = m_AdditionalLightsRenderingModeProp.intValue == (int)LightRenderingMode.Disabled;
Expand Down