Skip to content

Commit

Permalink
Consider all points in a group to meet redundancy check
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jan 19, 2022
1 parent 93cd07f commit 03ac91a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public GroupVisualisation(ControlPointGroup group)
/// For display purposes, check whether the proposed group is made redundant by this visualisation group.
/// </summary>
public bool IsVisuallyRedundant(ControlPointGroup other) =>
other.ControlPoints.Any(c => InternalChildren.OfType<IControlPointVisualisation>().Any(c2 => c2.IsVisuallyRedundant(c)));
other.ControlPoints.All(c => InternalChildren.OfType<IControlPointVisualisation>().Any(c2 => c2.IsVisuallyRedundant(c)));
}
}

0 comments on commit 03ac91a

Please sign in to comment.