diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 613dd880997..a0f0029cc18 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -158,6 +158,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed a NaN generating in Area light code. - Fixed CustomPassUtils scaling issues when used with RTHandles allocated from a RenderTexture. - Fixed ResourceReloader that was not call anymore at pipeline construction +- Fixed undo of some properties on light editor. ### Changed - Changed Window/Render Pipeline/HD Render Pipeline Wizard to Window/Rendering/HDRP Wizard diff --git a/com.unity.render-pipelines.high-definition/Editor/Lighting/HDLightEditor.cs b/com.unity.render-pipelines.high-definition/Editor/Lighting/HDLightEditor.cs index f2dd11c28f1..00909f9e0be 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Lighting/HDLightEditor.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Lighting/HDLightEditor.cs @@ -60,7 +60,7 @@ void OnUndoRedo() // Serialized object is lossing references after an undo if (m_SerializedHDLight.serializedObject.targetObject != null) { - m_SerializedHDLight.serializedObject.ApplyModifiedProperties(); + m_SerializedHDLight.serializedObject.Update(); foreach (var hdLightData in m_AdditionalLightDatas) if (hdLightData != null) hdLightData.UpdateAreaLightEmissiveMesh();