From 5b648b18245f29069087d2e55b09c2f1f4462882 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 8 Aug 2026 06:50:32 +0200 Subject: [PATCH] Fixes --- Content/Shaders/GI/DDGI.flax | 4 ++-- Source/Editor/CustomEditors/Editors/ActorLayerEditor.cs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Content/Shaders/GI/DDGI.flax b/Content/Shaders/GI/DDGI.flax index 6d1431236..074936c0f 100644 --- a/Content/Shaders/GI/DDGI.flax +++ b/Content/Shaders/GI/DDGI.flax @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c0984d39f5226f8eac725b307c88a663d54836a820ae4d4d3cffe73b8fe6d0a2 -size 38199 +oid sha256:470894d00e8fad1a932f21d45c08b8dc96327dd9a8569b0a96d0169da6496c62 +size 38449 diff --git a/Source/Editor/CustomEditors/Editors/ActorLayerEditor.cs b/Source/Editor/CustomEditors/Editors/ActorLayerEditor.cs index 282e8fdac..c121d258b 100644 --- a/Source/Editor/CustomEditors/Editors/ActorLayerEditor.cs +++ b/Source/Editor/CustomEditors/Editors/ActorLayerEditor.cs @@ -41,8 +41,9 @@ namespace FlaxEditor.CustomEditors.Editors private void OnPopupShown(ComboBox comboBox) { - var addOrEditLayersOption = (ContextMenuButton)comboBox.Popup.Items.FirstOrDefault(x => x is FlaxEditor.GUI.ContextMenu.ContextMenuButton b && b.Text == AddOrEditLayersOption); - addOrEditLayersOption?.Icon = Editor.Instance.Icons.Settings12; + var addOrEditLayersOption = (ContextMenuButton)comboBox.Popup.Items.FirstOrDefault(x => x is ContextMenuButton b && b.Text == AddOrEditLayersOption); + if (addOrEditLayersOption != null) + addOrEditLayersOption.Icon = Editor.Instance.Icons.Settings12; } private void UpdateLayerItems(int selectedIndex)