]> OCCT Git - occt.git/commit
0033591: Modeling Algorithms - Regression: old surface is not removed after translati...
authorastromko <astromko@opencascade.com>
Mon, 1 Apr 2024 13:34:16 +0000 (13:34 +0000)
committerjfa <jfa@opencascade.com>
Thu, 18 Apr 2024 17:23:21 +0000 (18:23 +0100)
commitbb43d0cc19541415b131d3020932887362f13bab
tree78da6832624557a0181bebc1434c77297af09d1c
parent1e5dd88f50c6c73ab1bcd90b68503703e677baca
0033591: Modeling Algorithms - Regression: old surface is not removed after translation or rotation with geometry copying

In order to avoid the problem we should always perform the commands in the "if (IsNewCur)" block after NewCurve() function even if NewCurve() returns a null-curve.
Added additional condition for this purpose..
src/BRepTools/BRepTools_Modifier.cxx
tests/bugs/modalg_8/bug33591 [new file with mode: 0644]