Loading Editor/Scripts/Windows/BaseWindow.cs +2 −2 Original line number Diff line number Diff line Loading @@ -45,9 +45,9 @@ namespace ETSI.ARF.WorldStorage.UI // Keyvalues // [SerializeField] protected KeyvalueTagList keyValueTags = new KeyvalueTagList(); protected List<(string, string)> keyValuesFixed = new List<(string, string)>(3) protected List<(string, string)> keyValuesFixed = new List<(string, string)>(4) { ("", ""),("", ""),("", "") ("", ""),("", ""),("", ""),("", "") }; protected void OutputKeyValue(int n) { Loading Editor/Scripts/Windows/TrackableWindow.cs +1 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,7 @@ namespace ETSI.ARF.WorldStorage.UI OutputKeyValue(0); OutputKeyValue(1); OutputKeyValue(2); OutputKeyValue(3); } EditorGUILayout.EndToggleGroup(); // Loading Runtime/Scripts/OpenAPI/UnityWebRequestHttpClient.cs +2 −3 Original line number Diff line number Diff line Loading @@ -108,9 +108,8 @@ namespace ETSI.ARF.OpenAPI.WorldStorage { try { List<string> li = item.Value as List<string>; if (item.Key == "token") webRequest.SetRequestHeader(item.Key, li[0].ToString()); // add it if (item.Key == "sessionID") webRequest.SetRequestHeader(item.Key, li[0].ToString()); // add it List<string> li = item.Value.ToList<string>(); webRequest.SetRequestHeader(item.Key, li[0]); // assume only one value } catch { } // ignore it } Loading Loading
Editor/Scripts/Windows/BaseWindow.cs +2 −2 Original line number Diff line number Diff line Loading @@ -45,9 +45,9 @@ namespace ETSI.ARF.WorldStorage.UI // Keyvalues // [SerializeField] protected KeyvalueTagList keyValueTags = new KeyvalueTagList(); protected List<(string, string)> keyValuesFixed = new List<(string, string)>(3) protected List<(string, string)> keyValuesFixed = new List<(string, string)>(4) { ("", ""),("", ""),("", "") ("", ""),("", ""),("", ""),("", "") }; protected void OutputKeyValue(int n) { Loading
Editor/Scripts/Windows/TrackableWindow.cs +1 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,7 @@ namespace ETSI.ARF.WorldStorage.UI OutputKeyValue(0); OutputKeyValue(1); OutputKeyValue(2); OutputKeyValue(3); } EditorGUILayout.EndToggleGroup(); // Loading
Runtime/Scripts/OpenAPI/UnityWebRequestHttpClient.cs +2 −3 Original line number Diff line number Diff line Loading @@ -108,9 +108,8 @@ namespace ETSI.ARF.OpenAPI.WorldStorage { try { List<string> li = item.Value as List<string>; if (item.Key == "token") webRequest.SetRequestHeader(item.Key, li[0].ToString()); // add it if (item.Key == "sessionID") webRequest.SetRequestHeader(item.Key, li[0].ToString()); // add it List<string> li = item.Value.ToList<string>(); webRequest.SetRequestHeader(item.Key, li[0]); // assume only one value } catch { } // ignore it } Loading