branchobj.cpp
changeset 158 a33a2bdd8299
parent 151 4b2e70fbacec
child 160 72cc3873306a
     1.1 --- a/branchobj.cpp	Fri Aug 19 07:42:32 2005 +0000
     1.2 +++ b/branchobj.cpp	Tue Aug 30 14:09:19 2005 +0000
     1.3 @@ -652,7 +652,11 @@
     1.4  	// Search float images
     1.5  	FloatImageObj *foi;
     1.6      for (foi=floatimage.first(); foi; foi=floatimage.next() )
     1.7 -		if (foi->inBBox(p) && (foi != excludeLMO) && foi->getParObj()!= excludeLMO) return foi;
     1.8 +		if (foi->inBBox(p) && 
     1.9 +			(foi != excludeLMO) && 
    1.10 +			foi->getParObj()!= excludeLMO &&
    1.11 +			foi->isVisibleObj() 
    1.12 +		) return foi;
    1.13  
    1.14      return NULL;
    1.15  }