From e54cca454bb2e0a5c2dea1d26464e978cf1b1620 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Fri, 18 Sep 2020 12:37:02 +0200 Subject: [PATCH] added null message --- RH-Engine/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RH-Engine/Program.cs b/RH-Engine/Program.cs index acb210b..f127687 100644 --- a/RH-Engine/Program.cs +++ b/RH-Engine/Program.cs @@ -95,8 +95,8 @@ namespace RH_Engine //string command = createGraphics.TerrainCommand(new int[] { 256, 256 }, heigths); - string groundId = GetId("GroundPlane", stream, createGraphics); - Console.WriteLine("ground id: " + groundId); + string groundId = GetId(CreateGraphics.STANDARD_SUN, stream, createGraphics); + Console.WriteLine("id: " + groundId); string command = createGraphics.DeleteGroundPaneCommand(groundId); //string command = createGraphics.ResetScene(); Console.WriteLine("tunnelID is: " + tunnelID); @@ -119,7 +119,7 @@ namespace RH_Engine return child.uuid; } } - + Console.WriteLine("Could not find id of " + name); return null; }