Browse Source

Fixed Block inspector displayed for inactive flowchart #544

master
Christopher 8 years ago
parent
commit
71a702417f
  1. 3
      Assets/Fungus/Scripts/Editor/FlowchartWindow.cs

3
Assets/Fungus/Scripts/Editor/FlowchartWindow.cs

@ -68,7 +68,8 @@ namespace Fungus.EditorUtils
} }
if (Selection.activeGameObject == null && if (Selection.activeGameObject == null &&
flowchart.SelectedBlock != null) flowchart.SelectedBlock != null &&
flowchart.IsActive())
{ {
if (blockInspector == null) if (blockInspector == null)
{ {

Loading…
Cancel
Save