diff -r 9abdd5e6c3dc -r 827d334d55f1 mapeditor.cpp --- a/mapeditor.cpp Fri Feb 01 15:28:35 2008 +0000 +++ b/mapeditor.cpp Fri Feb 01 15:28:35 2008 +0000 @@ -1554,9 +1554,7 @@ } if (lmode==NewMap) { - if (xelection.isEmpty() ) xelection.unselect(); xelection.clear(); - model->clear(); model->setMapEditor(this); // (map state is set later at end of load...) } else @@ -4218,6 +4216,10 @@ void MapEditor::testFunction1() { + BranchObj *bo=xelection.getBranch(); + if (bo) model->moveAway (bo); + + /* BranchObj *bo=xelection.getBranch(); if (bo) animObjList.append( bo );