mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0023299: ShapeCustom_BSplineRestriction.cxx: line 732 - identical sub-expression in 'if-clause'
Verifying both affected variables in the if-clause.
This commit is contained in:
parent
dede2e21f6
commit
b476213a1d
@ -729,7 +729,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
|
||||
|
||||
if(myDeg) {
|
||||
if(MaxSeg < myParameters->GMaxSeg()){
|
||||
if(aCV != 0 || aCV != 0) {
|
||||
if(aCV != 0 || aCU != 0) {
|
||||
if(aCV > 0) aCV--;
|
||||
if(aCU > 0) aCU--;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user