mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
OCC22301 TColStd_PackedMapOfInteger issue with extent value
This commit is contained in:
parent
20ee680faf
commit
40f6333983
@ -772,8 +772,10 @@ Standard_Boolean TColStd_PackedMapOfInteger::Intersect
|
||||
// Store the block - result of operation
|
||||
if (aNewData == 0)
|
||||
p2 = 0L; // no match - the block has to be removed
|
||||
else if ( aNewData != p1->Data() ) {
|
||||
p1->ChangeData() = aNewData;
|
||||
else
|
||||
{
|
||||
if ( aNewData != p1->Data() )
|
||||
p1->ChangeData() = aNewData;
|
||||
aNewExtent += TColStd_Population (p1->ChangeMask(), aNewData);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user