branchobj.cpp
changeset 776 25e634a7e1dc
parent 775 6e4b586aa88a
child 779 1fb50e79661c
     1.1 --- a/branchobj.cpp	Wed Jun 03 20:37:17 2009 +0000
     1.2 +++ b/branchobj.cpp	Mon Jun 08 11:36:56 2009 +0000
     1.3 @@ -272,8 +272,12 @@
     1.4  void BranchObj::move (double x, double y)
     1.5  {
     1.6  	OrnamentedObj::move (x,y);
     1.7 -    for (int i=0; i<floatimage.size(); ++i )
     1.8 -		floatimage.at(i)->reposition();
     1.9 +	FloatImageObj *fio;
    1.10 +    for (int i=0; i<treeItem->imageCount(); ++i )
    1.11 +	{
    1.12 +		fio=treeItem->getImageObjNum(i);
    1.13 +		if (fio) fio->reposition();
    1.14 +	}
    1.15      positionBBox();
    1.16  }
    1.17