Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongTang committed Sep 16, 2024
1 parent e4f3c9b commit fcdba64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DynamoCore/Graph/Connectors/ConnectorModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ private ConnectorModel(
GUID = guid;
Start = start.OutPorts[startIndex];
PortModel endPort = end.InPorts[endIndex];
isHidden = !PreferenceSettings.Instance.ShowConnector;
// Reading visibility settings from preferences and setting the visibility of the connector
// so that setting changes within the session can be relfected instantly
IsHidden = !PreferenceSettings.Instance.ShowConnector;

Debug.WriteLine("Creating a connector between ports {0}(owner:{1}) and {2}(owner:{3}).",
start.GUID, Start.Owner == null ? "null" : Start.Owner.Name, end.GUID, endPort.Owner == null ? "null" : endPort.Owner.Name);
Expand Down

0 comments on commit fcdba64

Please sign in to comment.