From: jfa Date: Thu, 28 Mar 2024 15:30:50 +0000 (+0000) Subject: [bug #33591] Modeling Algorithms - Regression: old surface is not removed after trans... X-Git-Tag: SALOME_9_13_V7_8_0~2 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=194470979bd5b99433a33e9db34712511b0f3ee5;p=occt.git [bug #33591] Modeling Algorithms - Regression: old surface is not removed after translation or rotation with geometry copying --- diff --git a/src/BRepTools/BRepTools_TrsfModification.cxx b/src/BRepTools/BRepTools_TrsfModification.cxx index c8252f6caf..afedf74c89 100644 --- a/src/BRepTools/BRepTools_TrsfModification.cxx +++ b/src/BRepTools/BRepTools_TrsfModification.cxx @@ -307,10 +307,10 @@ Standard_Boolean BRepTools_TrsfModification::NewCurve { Standard_Real f,l; C = BRep_Tool::Curve(E,L,f,l); - if (C.IsNull()) - { - return Standard_False; - } + //if (C.IsNull()) + //{ + // return Standard_False; + //} Tol = BRep_Tool::Tolerance(E); Tol *= Abs(myTrsf.ScaleFactor());