Skip to content

Commit

Permalink
Fixed critical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Siccity committed Jun 28, 2018
1 parent 794d1ae commit fb61577
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Scripts/Editor/NodeEditorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ public static T GetEditor(K target) {
editors.Add(target, Activator.CreateInstance(editor.GetType()) as T);
editors[target].target = target;
editors[target].serializedObject = new SerializedObject(target);
return editor;
}
return editors[target];

}

private static T GetEditor(Type type) {
Expand Down

0 comments on commit fb61577

Please sign in to comment.