mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0031766: Modeling Algorithms - Instability on pipe bugs bug26088 test case
Correction in GeomFill_Sweep: set the flags "myExchUV", "isUReversed", "isVReversed" to FALSE (initial state) after failure of BuildKPart method.
This commit is contained in:
@@ -219,6 +219,12 @@ GeomFill_Sweep::GeomFill_Sweep(const Handle(GeomFill_LocationLaw)& Location,
|
||||
|
||||
// Traitement des KPart
|
||||
if (myKPart) isKPart = BuildKPart();
|
||||
|
||||
if (!isKPart)
|
||||
{
|
||||
myExchUV = Standard_False;
|
||||
isUReversed = isVReversed = Standard_False;
|
||||
}
|
||||
|
||||
// Traitement des produits Formelles
|
||||
if ((!isKPart) && (Methode == GeomFill_Location)) {
|
||||
@@ -876,6 +882,7 @@ static Standard_Boolean IsSweepParallelSpine (const Handle(GeomFill_LocationLaw)
|
||||
// l == f - "degenerated" surface
|
||||
// UlastOnSec - UfirstOnSec > M_PI_2 - "twisted" surface,
|
||||
// it is impossible to represent with help of trimmed sphere
|
||||
isUReversed = Standard_False;
|
||||
return Ok;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user