[GMF Runtime] Regression from https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 fix on Rectilinea [message #780489] |
Wed, 18 January 2012 09:40 |
Esteban Dugueperoux Messages: 472 Registered: July 2009 |
Senior Member |
|
|
Hi,
I have a GMF based application which works on Eclipse 3.3 and 3.5, with
a example gmf notation model I have a edge with four bendpoints, on 3.3
the RectilinearRouter route the connection by computing 4 draw2d points
but on 3.5, it the routing results in 6 draw2d points, which is ugly. I
have the same issue (yet on 3.5) when moving a connection's
source/target, the RectilinearRouter add new points while it is not
necessary to have rectilinear polyline.
Analyzing this issue, I have seen the
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 fix which causes
this regression, indeed using the RectilinearRouter before the fix of
the ticket, I have not this issue.
Like I can't provide my example, I have attached a patch to the
RectilinearRouterTest to show the issue. Using the latest
RectilinearRouter (from trunk) the pointList's size is 6 while before
the fix of https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 the
pointList's size is 4.
Best Regards.
-
Attachment: test.patch
(Size: 3.46KB, Downloaded 366 times)
|
|
|
Powered by
FUDForum. Page generated in 0.02849 seconds