vymmodel.cpp
changeset 796 cf634bbf9e04
parent 795 6b0a5f4923d3
child 798 d251c7b2de54
     1.1 --- a/vymmodel.cpp	Thu Sep 17 09:41:09 2009 +0000
     1.2 +++ b/vymmodel.cpp	Wed Sep 23 11:59:54 2009 +0000
     1.3 @@ -4094,32 +4094,6 @@
     1.4  	}
     1.5  }
     1.6  
     1.7 -void VymModel::updateRelPositions()		//FIXME-3 VM should have no need to updateRelPos
     1.8 -{
     1.9 -	/* FIXME-3 ???
    1.10 -	for (int i=0; i<rootItem->branchCount(); i++)
    1.11 -		((MapCenterObj*)rootItem->getBranchObjNum(i))->updateRelPositions();
    1.12 -		*/
    1.13 -		/*
    1.14 -	void MapCenterObj::updateRelPositions()
    1.15 -	{
    1.16 -		if (repositionRequest) unsetAllRepositionRequests();
    1.17 -
    1.18 -		// update relative Positions of branches and floats
    1.19 -		for (int i=0; i<treeItem->branchCount(); ++i)
    1.20 -		{
    1.21 -			treeItem->getBranchObjNum(i)->setRelPos();
    1.22 -			treeItem->getBranchObjNum(i)->setOrientation();
    1.23 -		}
    1.24 -		
    1.25 -		for (int i=0; i<floatimage.size(); ++i)
    1.26 -			floatimage.at(i)->setRelPos();
    1.27 -
    1.28 -		if (repositionRequest) reposition();
    1.29 -	}
    1.30 -	*/
    1.31 -}
    1.32 -
    1.33  void VymModel::reposition()	//FIXME-4 VM should have no need to reposition, but the views...
    1.34  {
    1.35  	//cout << "VM::reposition blocked="<<blockReposition<<endl;