Browse Source

Fixed can't inspect disabled Flowchart #598

master
Christopher 8 years ago
parent
commit
8d81173ffc
  1. 9
      Assets/Fungus/Scripts/Editor/FlowchartWindow.cs

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

@ -167,15 +167,8 @@ namespace Fungus.EditorUtils
return; return;
} }
bool isActive = flowchart.IsActive();
if (PrefabUtility.GetPrefabType(flowchart.gameObject) == PrefabType.Prefab)
{
isActive = true;
}
if (Selection.activeGameObject == null && if (Selection.activeGameObject == null &&
flowchart.SelectedBlock != null && flowchart.SelectedBlock != null )
isActive)
{ {
if (blockInspector == null) if (blockInspector == null)
{ {

Loading…
Cancel
Save