mirror of
https://github.com/BotChain-Robots/ui.git
synced 2026-07-08 15:07:22 +02:00
Fix orientation detection
This commit is contained in:
Binary file not shown.
@@ -87,7 +87,8 @@ public class TopologyBuilder : MonoBehaviour
|
|||||||
if (n_connection != null)
|
if (n_connection != null)
|
||||||
{
|
{
|
||||||
var connection = n_connection.Value;
|
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
|
graph.Connections.Add(new Connection
|
||||||
{
|
{
|
||||||
FromModuleId = connection.FromModuleId,
|
FromModuleId = connection.FromModuleId,
|
||||||
|
|||||||
Reference in New Issue
Block a user