[GME-commit] GMESRC/GME/Gme/AutoRoute ArGraph.cpp,1.8,1.9
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Tue Mar 18 14:32:42 CDT 2008
Update of /project/gme-repository/GMESRC/GME/Gme/AutoRoute
In directory escher:/tmp/cvs-serv17342
Modified Files:
ArGraph.cpp
Log Message:
Crash occurred when 0 length segments were removed (whose direction is hard to determine).
It affected projects created with the MetaGME paradigm, if imported from xme and opened a paradigmsheet.
If the project was saved, and reopened as an mga binary file, and only then opened the paradigmsheet it didn't show up.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: ArGraph.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/AutoRoute/ArGraph.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ArGraph.cpp 3 Nov 2006 20:48:07 -0000 1.8
--- ArGraph.cpp 18 Mar 2008 19:32:40 -0000 1.9
***************
*** 2098,2101 ****
--- 2098,2102 ----
POSITION pppointpos = pos; if( pppointpos == NULL ) return 0;
CPoint* pppoint = &(points.GetAt(pos));
+ if( *npoint == *point) return 0; // direction of zero-length edges can't be determined, so don't delete them
ASSERT( pppointpos != NULL && ppointpos != NULL && pointpos != NULL && npointpos != NULL && nnpointpos != NULL );
More information about the GME-commit
mailing list