diff -r 9e196213c003 -r 51c69652a9d0 mapeditor.cpp --- a/mapeditor.cpp Wed Jan 16 15:45:19 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 );