1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

[bug #33591] Modeling Algorithms - Regression: old surface is not removed after translation or rotation with geometry copying

This commit is contained in:
jfa 2024-03-28 15:30:50 +00:00
parent 1e5dd88f50
commit cebd3907c8

View File

@ -307,10 +307,10 @@ Standard_Boolean BRepTools_TrsfModification::NewCurve
{ {
Standard_Real f,l; Standard_Real f,l;
C = BRep_Tool::Curve(E,L,f,l); C = BRep_Tool::Curve(E,L,f,l);
if (C.IsNull()) //if (C.IsNull())
{ //{
return Standard_False; // return Standard_False;
} //}
Tol = BRep_Tool::Tolerance(E); Tol = BRep_Tool::Tolerance(E);
Tol *= Abs(myTrsf.ScaleFactor()); Tol *= Abs(myTrsf.ScaleFactor());