diff -r 43268373032d -r e265f07f2173 branchobj.cpp --- a/branchobj.cpp Wed Jun 09 13:14:08 2010 +0000 +++ b/branchobj.cpp Mon Jun 14 13:59:17 2010 +0000 @@ -108,7 +108,13 @@ qreal y; if (off==0) { + // Below is needed e.g. in a freshly loaded map, + // bboxTotal seems not to be correct yet + // relinking positions too far below then + calcBBoxSizeWithChildren(); + // new parent is just a branch, link to it + bodst->calcBBoxSizeWithChildren(); QRectF t=bodst->getBBoxSizeWithChildren(); if (dsti->getLastBranch()) y=t.y() + t.height() ;