[commit] r2426 - trunk/SDK/DecoratorLib

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Feb 13 12:52:46 CST 2014


Author: ksmyth
Date: Thu Feb 13 12:52:46 2014
New Revision: 2426

Log:
DecoratorLib: sort ports with y position and x position tiebreaker

Modified:
   trunk/SDK/DecoratorLib/ModelComplexPart.cpp

Modified: trunk/SDK/DecoratorLib/ModelComplexPart.cpp
==============================================================================
--- trunk/SDK/DecoratorLib/ModelComplexPart.cpp	Wed Feb 12 10:47:31 2014	(r2425)
+++ trunk/SDK/DecoratorLib/ModelComplexPart.cpp	Thu Feb 13 12:52:46 2014	(r2426)
@@ -1285,7 +1285,7 @@
 		if (posA.y != posB.y)
 			return posA.y < posB.y;
 
-		return posA.x < posB.y;
+		return posA.x < posB.x;
 	}
 };
 


More information about the gme-commit mailing list