1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 17:26:02 +08:00

Fixed critical bug

This commit is contained in:
Thor Brigsted 2018-06-29 00:17:49 +02:00
parent 794d1aefc7
commit fb61577713

View File

@ -22,10 +22,8 @@ namespace XNodeEditor.Internal {
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) {