Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlavik1 committed Mar 22, 2024
1 parent 04331b4 commit 7862ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Lighting/ShadowVolumeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7862ca3

Please sign in to comment.