diff options
| author | 2026-09-17 15:20:36 -0400 | |
|---|---|---|
| committer | 2026-09-17 15:20:36 -0400 | |
| commit | 26da8f2ad030627eb81ace8a3b8af22ab7f6a34e (patch) | |
| tree | b005be8269de9103caacd24c7a270bd9c8ab13bd /Lights.cs | |
| parent | 6073c6ef3a85557e3a1ff3ab03abe0b3e0d93f7c (diff) | |
| download | WorldTuningTool-26da8f2ad030627eb81ace8a3b8af22ab7f6a34e.tar.gz WorldTuningTool-26da8f2ad030627eb81ace8a3b8af22ab7f6a34e.tar.bz2 WorldTuningTool-26da8f2ad030627eb81ace8a3b8af22ab7f6a34e.zip | |
Remove temporary debugging
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Lights.cs')
| -rw-r--r-- | Lights.cs | 76 |
1 files changed, 0 insertions, 76 deletions
@@ -583,25 +583,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) { foreach (Parameter param in light.Parameters) @@ -613,25 +594,6 @@ namespace WorldTuningTool public void OnUpdate() { - if (Monitor.TryEnter(sceneLights)) - { - try - { - OnUpdateN(); - } - finally - { - Monitor.Exit(sceneLights); - } - } - else - { - Assert(false); - } - } - - public void OnUpdateN() - { lock (newLights) { for (int i = newLights.Count - 1; i >= 0; i--) @@ -668,25 +630,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++) { uLight light = sceneLights[i]; @@ -933,25 +876,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; if (ImGui.Button("New Point Light")) |