From 71a702417f7eaeb918bf5dde16fdb7700e50288e Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 13 Oct 2016 15:18:39 +0100 Subject: [PATCH] Fixed Block inspector displayed for inactive flowchart #544 --- Assets/Fungus/Scripts/Editor/FlowchartWindow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index b31aab55..ba44bf9c 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -68,7 +68,8 @@ namespace Fungus.EditorUtils } if (Selection.activeGameObject == null && - flowchart.SelectedBlock != null) + flowchart.SelectedBlock != null && + flowchart.IsActive()) { if (blockInspector == null) {