mapeditor.cpp
changeset 805 fc7a93ff97c3
parent 804 14f2b1b15242
child 807 f9f7922989d8
     1.1 --- a/mapeditor.cpp	Fri Nov 13 08:32:03 2009 +0000
     1.2 +++ b/mapeditor.cpp	Mon Nov 16 09:47:10 2009 +0000
     1.3 @@ -475,12 +475,8 @@
     1.4  {
     1.5  	cout << "ME::test1  selected TI="<<model->getSelectedItem()<<endl;
     1.6  
     1.7 -	BranchObj *bo=model->getSelectedBranchObj();
     1.8 -	if (bo)
     1.9 -	{
    1.10 -		bo->moveBy (100,100);
    1.11 -		model->reposition();
    1.12 -	}
    1.13 +	for (int i=0; i<200;i++)
    1.14 +		model->addNewBranch();
    1.15  
    1.16  	/*
    1.17  	// Code copied from Qt sources