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