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:
@@ -1839,8 +1839,8 @@ Handle(Geom2d_BSplineCurve)
|
||||
Standard_Integer Inc = MaxDeg - MC.Degree();
|
||||
if ( Inc > 0) {
|
||||
// BSplCLib::IncreaseDegree( Inc, Poles2d, PLib::NoWeights(),
|
||||
BSplCLib::IncreaseDegree( MaxDeg, Poles2d, PLib::NoWeights(),
|
||||
TempPoles, PLib::NoWeights());
|
||||
BSplCLib::IncreaseDegree( MaxDeg, Poles2d, BSplCLib::NoWeights(),
|
||||
TempPoles, BSplCLib::NoWeights());
|
||||
//update of tops of the PCurve
|
||||
for (Standard_Integer k = 1 ; k <= MaxDeg + 1; k++) {
|
||||
Poles.SetValue( Compt, TempPoles( k));
|
||||
|
Reference in New Issue
Block a user