|"Copy" bendpoints into another FreeFormConnection [message #1319639]
||Mon, 28 April 2014 09:44
| Soeren M
Registered: September 2011
I came across a behaviour I've never noticed before.
If I create a FreeFormConnection and add the bendpoints from another FreeFormConnection into it, the bendpoints from the first one are deleted afterwards.
AddConnectionContext addContext = new AddConnectionContext(start, end);
FreeFormConnection newCon = (FreeFormConnection) getFeatureProvider().addIfPossible(addContext);
FreeFormConnection tc = (FreeFormConnection) c;
System.out.println(tc.getBendpoints().size()); //returns 2
System.out.println(tc.getBendpoints().size()); //returns 0
Am I doing something wrong?
[Updated on: Mon, 28 April 2014 09:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01700 seconds