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:
parent
794d1aefc7
commit
fb61577713
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user