BEGONE stupid fuckin warnings

This commit is contained in:
Chromium 2025-05-04 10:14:54 +01:00
parent 020d29a6fe
commit fa5cba5ded
3 changed files with 3 additions and 8 deletions

View File

@ -5,10 +5,7 @@ using UnityEngine.UIElements;
using System.Collections.Generic; using System.Collections.Generic;
using ImageProcessingGraph.Editor.Nodes.Types.Image.Variable_Node; using ImageProcessingGraph.Editor.Nodes.Types.Image.Variable_Node;
using UnityEditor;
using UnityEditor.UIElements; using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
public class BatchingWindow : EditorWindow public class BatchingWindow : EditorWindow
{ {

View File

@ -58,21 +58,19 @@ namespace ImageProcessingGraph.Editor
runOrder = GetExecutionOrder(this.nodes, this.connections); runOrder = GetExecutionOrder(this.nodes, this.connections);
bool failed = false;
foreach (var VARIABLE in runOrder) foreach (var VARIABLE in runOrder)
{ {
if (!VARIABLE.RunNode()) if (!VARIABLE.RunNode())
{ {
failed = true;
break; break;
} }
} }
foreach (var VARIABLE in runOrder) foreach (var VARIABLE in runOrder)
{ {
if(!VARIABLE.RunCleanUp()) VARIABLE.RunCleanUp();
failed = true;
} }
stopwatch.Stop(); stopwatch.Stop();

View File

@ -5,7 +5,7 @@ using UnityEngine.UIElements;
public class ImageProcessingGraphDocumentationWindow : EditorWindow public class ImageProcessingGraphDocumentationWindow : EditorWindow
{ {
[SerializeField] [SerializeField]
private VisualTreeAsset m_VisualTreeAsset = default; // private VisualTreeAsset m_VisualTreeAsset = default;
[MenuItem("Window/UI Toolkit/ImageProcessingGraphDocumentationWindow")] [MenuItem("Window/UI Toolkit/ImageProcessingGraphDocumentationWindow")]
public static void ShowExample() public static void ShowExample()