1.1 --- a/linkablemapobj.cpp Mon Oct 16 12:42:54 2006 +0000
1.2 +++ b/linkablemapobj.cpp Wed Oct 18 10:45:00 2006 +0000
1.3 @@ -538,21 +538,7 @@
1.4
1.5
1.6 setDockPos(); // Call overloaded method
1.7 -/* FIXME not needed?
1.8 - LinkOrient orientOld=orientation;
1.9 - if ((orientation!=orientOld) && (orientOld!= OrientUndef))
1.10 - {
1.11 - // Orientation just changed. Reorient this subbranch, because move is called
1.12 - // before updateLink => Position is still the old one, which could lead to
1.13 - // linking of subranch to itself => segfault
1.14 - //
1.15 - // Also possible: called in BranchObj::init(), then orientOld==OrientUndef,
1.16 - // no need to reposition now
1.17 - cout <<"Trying to reorientate... orient="<<orientation<<endl;
1.18 - reposition();
1.19 - }
1.20 -
1.21 -*/
1.22 + setOrientation();
1.23
1.24 double p1x=parPos.x(); // Link is drawn from P1 to P2
1.25 double p1y=parPos.y();