mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0029948: Uninitialized variable in GeomEvaluator_OffsetSurface::CalculateD0(...) method
Variable "NStatus" from GeomEvaluator_OffsetSurface class is now initialized correctly.
This commit is contained in:
parent
92a55b01af
commit
73e403b8c6
@ -466,7 +466,7 @@ void GeomEvaluator_OffsetSurface::CalculateD0(
|
||||
derivatives(MaxOrder, 1, theU, theV, myBaseAdaptor, 0, 0, AlongU, AlongV, L, DerNUV, DerSurf);
|
||||
|
||||
gp_Dir Normal;
|
||||
CSLib_NormalStatus NStatus;
|
||||
CSLib_NormalStatus NStatus = CSLib_Singular;
|
||||
CSLib::Normal(MaxOrder, DerNUV, the_D1MagTol, theU, theV, Umin, Umax, Vmin, Vmax,
|
||||
NStatus, Normal, OrderU, OrderV);
|
||||
if (NStatus == CSLib_InfinityOfSolutions)
|
||||
|
Loading…
x
Reference in New Issue
Block a user