Correction to dbReComputeBboxFunc() to fix a potential issue with
an uninitialized bounding box value.
This commit is contained in:
parent
741216d6f3
commit
0022c502c8
|
|
@ -621,6 +621,8 @@ dbReComputeBboxFunc(cellDef, boundProc, recurseProc)
|
|||
*/
|
||||
if ((foundAny = DBBoundCellPlane(cellDef, &extended, &rect)) > 0)
|
||||
area = rect;
|
||||
else
|
||||
extended = GeoNullRect;
|
||||
|
||||
for (pNum = PL_PAINTBASE; pNum < DBNumPlanes; pNum++)
|
||||
if (pNum != PL_DRC_CHECK)
|
||||
|
|
|
|||
Loading…
Reference in New Issue