From 7862ca3518253f2699fe38bd89ff2c6130be72f8 Mon Sep 17 00:00:00 2001 From: Matias Lavik Date: Fri, 22 Mar 2024 19:40:48 +0100 Subject: [PATCH] fix --- Assets/Scripts/Lighting/ShadowVolumeManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Lighting/ShadowVolumeManager.cs b/Assets/Scripts/Lighting/ShadowVolumeManager.cs index cc998e78..76ae25f4 100644 --- a/Assets/Scripts/Lighting/ShadowVolumeManager.cs +++ b/Assets/Scripts/Lighting/ShadowVolumeManager.cs @@ -71,7 +71,7 @@ private void OnEditorUpdate() #if UNITY_EDITOR if (!UnityEditor.EditorApplication.isPlaying) { - if (isDirty || (currentDispatchIndex > 0 && UnityEditor.EditorApplication.timeSinceStartup - lastUpdateTimeEditor > 0.02f)) + if (isDirty || (UnityEditor.EditorApplication.timeSinceStartup - lastUpdateTimeEditor > 0.02f)) { HandleUpdate(); UnityEditor.EditorUtility.SetDirty(UnityEditor.SceneView.lastActiveSceneView);