mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0028975: Draw Harness - DBRep_DrawableShape::display() throws exception while displaying shape without free edges in Debug mode
This commit is contained in:
parent
095e90a2c5
commit
e40d1acc28
@ -1074,7 +1074,7 @@ void DBRep_DrawableShape::display(const Handle(Poly_Triangulation)& T,
|
||||
}
|
||||
|
||||
// allocate the arrays
|
||||
TColStd_Array1OfInteger Free(1,2*nFree);
|
||||
TColStd_Array1OfInteger Free (1, Max (1, 2 * nFree));
|
||||
|
||||
// array is replaced on map because it is impossible
|
||||
// to calculate number of internal edges in advance
|
||||
|
Loading…
x
Reference in New Issue
Block a user