Browse Source

Added back necessary DestroyImmediate call

master
Zach Vinless 8 years ago
parent
commit
0854c2339b
  1. 1
      Assets/Fungus/Scripts/Editor/FlowchartWindow.cs

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

@ -472,6 +472,7 @@ namespace Fungus.EditorUtils
FlowchartEditor flowchartEditor = Editor.CreateEditor (flowchart) as FlowchartEditor; FlowchartEditor flowchartEditor = Editor.CreateEditor (flowchart) as FlowchartEditor;
flowchartEditor.DrawVariablesGUI(); flowchartEditor.DrawVariablesGUI();
DestroyImmediate(flowchartEditor);
Rect variableWindowRect = GUILayoutUtility.GetLastRect(); Rect variableWindowRect = GUILayoutUtility.GetLastRect();
if (flowchart.VariablesExpanded && flowchart.Variables.Count > 0) if (flowchart.VariablesExpanded && flowchart.Variables.Count > 0)

Loading…
Cancel
Save