mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -106,15 +106,15 @@ void GeomFill_Coons::Init(const TColgp_Array1OfPnt& P1,
|
||||
PLib::CoefficientsPoles(Coef, PLib::NoWeights(),
|
||||
Pole, PLib::NoWeights());
|
||||
if (NPolU > 4) {
|
||||
BSplCLib::IncreaseDegree(NPolU-1, Pole, PLib::NoWeights(),
|
||||
CoefU, PLib::NoWeights());
|
||||
BSplCLib::IncreaseDegree(NPolU-1, Pole, BSplCLib::NoWeights(),
|
||||
CoefU, BSplCLib::NoWeights());
|
||||
}
|
||||
else {
|
||||
CoefU = Pole;
|
||||
}
|
||||
if (NPolV > 4) {
|
||||
BSplCLib::IncreaseDegree(NPolV-1, Pole, PLib::NoWeights(),
|
||||
CoefV, PLib::NoWeights());
|
||||
BSplCLib::IncreaseDegree(NPolV-1, Pole, BSplCLib::NoWeights(),
|
||||
CoefV, BSplCLib::NoWeights());
|
||||
}
|
||||
else {
|
||||
CoefV = Pole;
|
||||
|
Reference in New Issue
Block a user