mapeditor.cpp
changeset 663 827d334d55f1
parent 658 9e196213c003
child 676 3dabc6424d73
     1.1 --- a/mapeditor.cpp	Fri Feb 01 15:28:35 2008 +0000
     1.2 +++ b/mapeditor.cpp	Fri Feb 01 15:28:35 2008 +0000
     1.3 @@ -1554,9 +1554,7 @@
     1.4  	}
     1.5  	if (lmode==NewMap)
     1.6  	{
     1.7 -		if (xelection.isEmpty() ) xelection.unselect();
     1.8  		xelection.clear();
     1.9 -		model->clear();
    1.10  		model->setMapEditor(this);
    1.11  		// (map state is set later at end of load...)
    1.12  	} else
    1.13 @@ -4218,6 +4216,10 @@
    1.14  
    1.15  void MapEditor::testFunction1()
    1.16  {
    1.17 +	BranchObj *bo=xelection.getBranch();
    1.18 +	if (bo) model->moveAway (bo);
    1.19 +
    1.20 +
    1.21  /*
    1.22  	BranchObj *bo=xelection.getBranch();
    1.23  	if (bo) animObjList.append( bo );