1.1 --- a/branchobj.cpp Tue Oct 24 15:36:38 2006 +0000
1.2 +++ b/branchobj.cpp Mon Oct 30 12:39:37 2006 +0000
1.3 @@ -921,7 +921,7 @@
1.4 return a;
1.5 }
1.6
1.7 -LinkableMapObj* BranchObj::addFloatImage ()
1.8 +FloatImageObj* BranchObj::addFloatImage ()
1.9 {
1.10 FloatImageObj *newfi=new FloatImageObj (canvas,this);
1.11 floatimage.append (newfi);
1.12 @@ -929,13 +929,15 @@
1.13 newfi->setVisibility (false);
1.14 else
1.15 newfi->setVisibility(visible);
1.16 + /*
1.17 calcBBoxSize();
1.18 positionBBox();
1.19 + */
1.20 requestReposition();
1.21 return newfi;
1.22 }
1.23
1.24 -LinkableMapObj* BranchObj::addFloatImage (FloatImageObj *fio)
1.25 +FloatImageObj* BranchObj::addFloatImage (FloatImageObj *fio)
1.26 {
1.27 FloatImageObj *newfi=new FloatImageObj (canvas,this);
1.28 floatimage.append (newfi);
1.29 @@ -944,8 +946,10 @@
1.30 newfi->setVisibility (false);
1.31 else
1.32 newfi->setVisibility(visible);
1.33 + /*
1.34 calcBBoxSize();
1.35 positionBBox();
1.36 + */
1.37 requestReposition();
1.38 return newfi;
1.39 }