1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026042: OCCT won't work with the latest Xcode

Dereferenced null pointers was eliminated for PLib, BSplCLib and BSplSLib. All affected code was changed accordingly.
This commit is contained in:
akz
2015-09-23 16:31:15 +03:00
committed by bugmaster
parent 42a9dcfc64
commit 0e14656b30
53 changed files with 867 additions and 906 deletions

View File

@@ -2190,10 +2190,10 @@ static void FunctionMultiply(Handle(Geom_BSplineSurface)& BSurf,
BSurf->VDegree(),
surface_u_knots,
surface_v_knots,
surface_u_mults,
surface_v_mults,
&surface_u_mults,
&surface_v_mults,
surface_poles,
surface_weights,
&surface_weights,
newuflatknots,
newvflatknots,
BSurf->UDegree()+3,

View File

@@ -77,9 +77,9 @@ Standard_Real GeomLib_DenominatorMultiplier::Value(const Standard_Real UParamet
BSplSLib::HomogeneousD1(mySurface->UKnot(mySurface->LastUKnotIndex()),VParameter,
0,0,
surface_poles,
surface_weights,
&surface_weights,
surface_u_knots,surface_v_knots,
surface_u_mults,surface_v_mults,
&surface_u_mults,&surface_v_mults,
udegree,vdegree,
mySurface->IsURational(),mySurface->IsVRational(),
mySurface->IsUPeriodic(),mySurface->IsVPeriodic(),
@@ -90,9 +90,9 @@ Standard_Real GeomLib_DenominatorMultiplier::Value(const Standard_Real UParamet
BSplSLib::HomogeneousD1(mySurface->UKnot(1),VParameter,
0,0,
surface_poles,
surface_weights,
&surface_weights,
surface_u_knots,surface_v_knots,
surface_u_mults,surface_v_mults,
&surface_u_mults,&surface_v_mults,
udegree,vdegree,
mySurface->IsURational(),mySurface->IsVRational(),
mySurface->IsUPeriodic(),mySurface->IsVPeriodic(),