From 551b4d9cea7b44504e2fb03ab7bb4126aa367d4a Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 5 May 2026 14:05:51 +0200 Subject: [PATCH] Improve ant walking speed --- Editor/ClusterViewer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Editor/ClusterViewer.cs b/Editor/ClusterViewer.cs index 565fdc5..86ae2a4 100644 --- a/Editor/ClusterViewer.cs +++ b/Editor/ClusterViewer.cs @@ -503,6 +503,9 @@ namespace NanoBrain { } protected void DrawOutputs(Vector2 parentPos, float size) { + if (this.currentCluster == null) + return; + // Determine the maximum value in this layer // This is used to 'scale' the output value colors of the nuclei float maxValue = 0;