Skip to content

Commit

Permalink
fixed checking in wrong graph
Browse files Browse the repository at this point in the history
  • Loading branch information
m4xxed committed Aug 11, 2023
1 parent 00a5e64 commit f2ac554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Assets/SEE/Controls/Actions/AcceptDivergenceAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ public override bool Update()
if (selectedDivergenceEdge.TryGetEdge(out Edge selectedEdge))
{
// check if the selected edge represents a divergence
if (selectedEdge.IsInArchitecture() && ReflexionGraph.IsDivergent(selectedEdge))
if (selectedEdge.IsInImplementation() && ReflexionGraph.IsDivergent(selectedEdge))
{

// acquire the containing ReflexionGraph
graph = (ReflexionGraph)selectedEdge.ItsGraph;

Expand Down

0 comments on commit f2ac554

Please sign in to comment.