Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/10 16:58:46 (14 years ago)
Author:
mkommend
Message:

corrected drawing of connectors in OperatorShapeInfo and removed self connections (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/GraphVisualizationInfoView.cs

    r3171 r3181  
    311311      if (operatorShape != null)
    312312        shapeInfo.Collapsed = operatorShape.Collapsed;
    313      
     313
    314314      this.graphVisualization.Invalidate();
    315315      this.causedUpdateOfShapeInfo = false;
     
    330330          string connectorName = connectorFrom.Name;
    331331
    332           this.Content.AddConnection(shapeInfoFrom, connectorName, shapeInfoTo);
     332          if (shapeFrom != shapeTo) //avoid self references
     333            this.Content.AddConnection(shapeInfoFrom, connectorName, shapeInfoTo);
    333334        }
    334335      }
Note: See TracChangeset for help on using the changeset viewer.