Merge branch 'Polypulse-master'

This commit is contained in:
2020-12-28 22:11:50 +01:00
@@ -405,7 +405,7 @@ namespace FlaxEditor.CustomEditors.Editors
if (_element.CustomControl.Type == new ScriptType(typeof(object)))
{
_element.CustomControl.Type = Values.Type.Type != typeof(object) || Values[0] == null ? Values.Type : TypeUtils.GetObjectType(Values[0]);
_element.CustomControl.Type = Values.Type.Type != typeof(object) || Values[0] == null ? new ScriptType(typeof(object)) : TypeUtils.GetObjectType(Values[0]);
}
}
}