Skip to content

Commit

Permalink
Fix Clone Function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihad Karajko committed Oct 29, 2024
1 parent 7f1029f commit 40030b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ACadSharp/Objects/BlockVisibilityParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public override CadObject Clone()
clone.SubBlocks.Clear();
foreach (var item in this.SubBlocks)
{
clone.Entities.Add((Entity)item.Clone());
clone.SubBlocks.Add((SubBlock)item.Clone());
}

return clone;
Expand Down

0 comments on commit 40030b8

Please sign in to comment.