mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0028709: Extend type 'BRepTools_ReShape' to support 'BRepTools_History' history
Type 'BRepTools_ReShape' was extended to: - support the 'BRepTools_History' history; - merge several shapes to a single shape that the history of the merged shapes is presented by equal ways. Type 'ShapeBuild_ReShape' was changed to support 'BRepTools_History' history.
This commit is contained in:
@@ -224,7 +224,9 @@ TopoDS_Shape ShapeBuild_ReShape::Apply (const TopoDS_Shape& shape,
|
||||
result.Closed (BRep_Tool::IsClosed (result));
|
||||
result.Orientation(orient);
|
||||
myStatus = locStatus;
|
||||
Replace ( shape, result );
|
||||
|
||||
replace(shape, result,
|
||||
result.IsNull() ? TReplacementKind_Remove : TReplacementKind_Modify);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user