mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0023309: The 'then' statement is equivalent to the 'else' statement in TopOpeBRep_EdgesFiller.cxx.
Removed unnecessary else-if action.
This commit is contained in:
parent
bead40f28c
commit
8c720dc1fe
@ -337,14 +337,6 @@ void TopOpeBRep_EdgesFiller::SetShapeTransition(const TopOpeBRep_Point2d& P2D,
|
|||||||
if ( ! myE2.IsNull() ) T1.Index(ie2);
|
if ( ! myE2.IsNull() ) T1.Index(ie2);
|
||||||
if ( ! myE1.IsNull() ) T2.Index(ie1);
|
if ( ! myE1.IsNull() ) T2.Index(ie1);
|
||||||
}
|
}
|
||||||
else if (pointofsegment && !esd) {
|
|
||||||
T1.ShapeBefore(TopAbs_FACE);T1.ShapeAfter(TopAbs_FACE);
|
|
||||||
T2.ShapeBefore(TopAbs_FACE);T2.ShapeAfter(TopAbs_FACE);
|
|
||||||
if ( ! myF1.IsNull() ) if1 = myPDS->AddShape(myF1,1);
|
|
||||||
if ( ! myF2.IsNull() ) if2 = myPDS->AddShape(myF2,2);
|
|
||||||
if ( ! myF1.IsNull() ) T2.Index(if1);
|
|
||||||
if ( ! myF2.IsNull() ) T1.Index(if2);
|
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
T1.ShapeBefore(TopAbs_FACE);T1.ShapeAfter(TopAbs_FACE);
|
T1.ShapeBefore(TopAbs_FACE);T1.ShapeAfter(TopAbs_FACE);
|
||||||
T2.ShapeBefore(TopAbs_FACE);T2.ShapeAfter(TopAbs_FACE);
|
T2.ShapeBefore(TopAbs_FACE);T2.ShapeAfter(TopAbs_FACE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user