ornamentedobj.cpp
changeset 395 7ced3733ba60
parent 388 3a58c9ef4a18
child 398 d42881c25fb6
     1.1 --- a/ornamentedobj.cpp	Tue Oct 24 15:36:38 2006 +0000
     1.2 +++ b/ornamentedobj.cpp	Mon Oct 30 12:39:37 2006 +0000
     1.3 @@ -366,7 +366,7 @@
     1.4  			attribut("absPosY",QString().setNum(absPos.y(),10)); 
     1.5  	else
     1.6  	{
     1.7 -		if (depth==1)
     1.8 +		if (depth==1 || typeid (*this)==typeid (FloatImageObj))
     1.9  			posAttr=
    1.10  				attribut("relPosX",QString().setNum(relPos.x(),10)) +
    1.11  				attribut("relPosY",QString().setNum(relPos.y(),10));