From 78abf924073307c2037710627f773c91bdc96ccd Mon Sep 17 00:00:00 2001 From: Antoine Lelievre Date: Mon, 13 Sep 2021 15:40:54 +0200 Subject: [PATCH] Probably fix the refresh bug after adding a new baking set in the APV window --- .../Editor/Lighting/ProbeVolume/ProbeVolumeBakingWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingWindow.cs b/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingWindow.cs index 71765aecb0a..c792335dc42 100644 --- a/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingWindow.cs +++ b/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeBakingWindow.cs @@ -145,6 +145,7 @@ void InitializeBakingSetList() { Undo.RegisterCompleteObjectUndo(sceneData.parentAsset, "Added new baking set"); sceneData.CreateNewBakingSet("New Baking Set"); + m_SerializedObject.Update(); OnBakingSetSelected(list); };