diff -r 82ebfc46233b -r 31de6677aa96 branchobj.cpp --- a/branchobj.cpp Tue Dec 01 11:06:15 2009 +0000 +++ b/branchobj.cpp Thu Dec 03 22:32:24 2009 +0000 @@ -141,18 +141,20 @@ parObj=bo; setLinkStyle (dst->getDefLinkStyle (dsti)); - + // Move temporary to new position at destination // Usually the positioning would be done by reposition(), // but then also the destination branch would "Jump" around... // Better just do it approximately - if (parObj->getTreeItem()->depth()==0) + cout << "BO::setTmp d="<depth(); + if (dsti->depth()==0) { // new parent is a mapcenter Vector v= ( m - bo->getChildPos()); if (v.x()<0) v.setX( v.x()-bbox.width() ); v.normalize(); v.scale (100); move2RelPos (v.toQPointF()); + cout << " v="<