From f2ac554003d72cf4568fc833aa3befa25842dc1c Mon Sep 17 00:00:00 2001 From: m4xxed Date: Fri, 11 Aug 2023 23:24:24 +0200 Subject: [PATCH] fixed checking in wrong graph --- Assets/SEE/Controls/Actions/AcceptDivergenceAction.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/SEE/Controls/Actions/AcceptDivergenceAction.cs b/Assets/SEE/Controls/Actions/AcceptDivergenceAction.cs index c60bc25e56..44f8760091 100644 --- a/Assets/SEE/Controls/Actions/AcceptDivergenceAction.cs +++ b/Assets/SEE/Controls/Actions/AcceptDivergenceAction.cs @@ -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;