Skip to content

Commit

Permalink
Improve Clone of EvaluationGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihad Karajko committed Oct 30, 2024
1 parent 40030b8 commit e49cf9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ACadSharp/Objects/EvaluationGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ public class GraphNode : ICloneable
public object Clone()
{
GraphNode clone = (GraphNode)MemberwiseClone();

clone.Next = (GraphNode)Next.Clone();
clone.NodeObject = NodeObject.Clone();

return clone;
}
}
Expand Down

0 comments on commit e49cf9a

Please sign in to comment.