[commit] r2567 - trunk/GME/CSGUI
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Mon Nov 17 08:36:39 CST 2014
Author: ksmyth
Date: Mon Nov 17 08:36:39 2014
New Revision: 2567
Log:
Drag-n-drop reference switch with refports: fix bug with R2->R1->M1 chain when R2 had refport connections: need to filter UsedByConns by immediate refport connections
Modified:
trunk/GME/CSGUI/ReferenceSwitcher.cs
Modified: trunk/GME/CSGUI/ReferenceSwitcher.cs
==============================================================================
--- trunk/GME/CSGUI/ReferenceSwitcher.cs Sat Nov 15 13:41:29 2014 (r2566)
+++ trunk/GME/CSGUI/ReferenceSwitcher.cs Mon Nov 17 08:36:39 2014 (r2567)
@@ -237,7 +237,11 @@
while( references.Count != 0 ) {
IMgaReference refe = references.Dequeue();
- foreach( IMgaConnPoint connPoint in refe.UsedByConns ) {
+ foreach (IMgaConnPoint connPoint in refe.UsedByConns) {
+ if (connPoint.References[1] != refe)
+ {
+ continue;
+ }
IMgaFCO fco2Port;
if( newRefeChildren.TryGetValue( connPoint.Target.Name, out fco2Port ) ) {
if( fco2Port == null ) {
More information about the gme-commit
mailing list