From 26da8f2ad030627eb81ace8a3b8af22ab7f6a34e Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 17 Sep 2026 15:20:36 -0400 Subject: Remove temporary debugging Signed-off-by: Andrew Opalach --- Lights.cs | 76 --------------------------------------------------------------- 1 file changed, 76 deletions(-) (limited to 'Lights.cs') diff --git a/Lights.cs b/Lights.cs index b592d67..b964367 100644 --- a/Lights.cs +++ b/Lights.cs @@ -582,25 +582,6 @@ namespace WorldTuningTool } public void PostUpdateLightLinker() - { - if (Monitor.TryEnter(sceneLights)) - { - try - { - PostUpdateLightLinkerN(); - } - finally - { - Monitor.Exit(sceneLights); - } - } - else - { - Assert(false); - } - } - - public void PostUpdateLightLinkerN() { foreach (uLight light in sceneLights) { @@ -612,25 +593,6 @@ namespace WorldTuningTool } public void OnUpdate() - { - if (Monitor.TryEnter(sceneLights)) - { - try - { - OnUpdateN(); - } - finally - { - Monitor.Exit(sceneLights); - } - } - else - { - Assert(false); - } - } - - public void OnUpdateN() { lock (newLights) { @@ -667,25 +629,6 @@ namespace WorldTuningTool } private void cleanupCommon(nint lightObject) - { - if (Monitor.TryEnter(sceneLights)) - { - try - { - cleanupCommonN(lightObject); - } - finally - { - Monitor.Exit(sceneLights); - } - } - else - { - Assert(false); - } - } - - private void cleanupCommonN(nint lightObject) { for (int i = 0; i < sceneLights.Count; i++) { @@ -932,25 +875,6 @@ namespace WorldTuningTool } public unsafe void DrawUI(float width) - { - if (Monitor.TryEnter(sceneLights)) - { - try - { - DrawUIN(width); - } - finally - { - Monitor.Exit(sceneLights); - } - } - else - { - Assert(false); - } - } - - public unsafe void DrawUIN(float width) { int lightType = -1; nint lightObject = 0x0; -- cgit v1.2.3-101-g0448