Fix orientation detection

This commit is contained in:
2026-03-10 14:07:30 -04:00
parent e20c3dd7af
commit ff9f4f2287
2 changed files with 2 additions and 1 deletions

View File

@@ -87,7 +87,8 @@ public class TopologyBuilder : MonoBehaviour
if (n_connection != null)
{
var connection = n_connection.Value;
Debug.Log("orientation: " + connection.Orientation);
if (connection.FromSocket == 0) { continue; }
Debug.Log("Connection: from (socket): " + connection.FromModuleId + " (" + connection.FromSocket + ")" + " to " + connection.ToModuleId + " ("+ connection.ToSocket + ")" + " orientation: " + connection.Orientation);
graph.Connections.Add(new Connection
{
FromModuleId = connection.FromModuleId,