From c05b7de5c29aa26591e60090e3e4b5ee422e3b8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Sch=C3=B6ner?= <tobias.stonehead@gmail.com>
Date: Fri, 3 Jun 2022 11:42:53 +0200
Subject: [PATCH] Removed testing Code

---
 Assets/Scripts/MeshGenerator/TorusGenerator.cs | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/Assets/Scripts/MeshGenerator/TorusGenerator.cs b/Assets/Scripts/MeshGenerator/TorusGenerator.cs
index 996574c0..607f783b 100644
--- a/Assets/Scripts/MeshGenerator/TorusGenerator.cs
+++ b/Assets/Scripts/MeshGenerator/TorusGenerator.cs
@@ -25,14 +25,6 @@ protected override void GenerateShape()
         if (torusMesh.sharedMesh != null)
             torusMesh.sharedMesh.Clear();
         torusMesh.mesh = CreateMesh(CreateTorus(torusRadius, ringRadius, ringSegmentCount, segmentSideCount));
-
-        //TODO for testing -- remove
-        try
-        {
-            MeshCollider meshCol = GetComponentInChildren<MeshCollider>();
-            meshCol.sharedMesh = torusMesh.mesh;
-        }
-        catch (Exception e) { }
     }
 
     private static (Vector3[] vertices, int[] triangles) CreateTorus(float torusRadius, float ringRadius, int ringSegmentCount, int segmentSideCount)
-- 
GitLab