Skip to content

Commit 6adfb4d

Browse files
authored
Merge pull request #321 from FriendsOfCADability/320-sphericalsurface-clone
The Clone method of the SphericalSurface didn't copy the usedArea. Th…
2 parents 0952303 + 0ef241b commit 6adfb4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CADability/SphericalSurface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ public override void GetZMinMax(Projection p, double umin, double umax, double v
516516
/// <returns></returns>
517517
public override ISurface Clone()
518518
{
519-
return new SphericalSurface(toSphere);
519+
return new SphericalSurface(toSphere, usedArea);
520520
}
521521
/// <summary>
522522
/// Overrides <see cref="CADability.GeoObject.ISurfaceImpl.Modify (ModOp)"/>

0 commit comments

Comments
 (0)