Loading Editor/Scripts/Graph/ARFGraphView.cs +3 −4 Original line number Original line Diff line number Diff line Loading @@ -562,7 +562,7 @@ namespace ETSI.ARF.WorldStorage.UI TrackableRequest.CreateTrackableAsync(worldStorageServer, trackable, (response) => TrackableRequest.CreateTrackableAsync(worldStorageServer, trackable, (response) => { { //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid String uuid = response.result; String uuid = response.result.Message; uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); foreach (ARFEdgeLink edge in aRFNodeTrackable.portIn.connections) foreach (ARFEdgeLink edge in aRFNodeTrackable.portIn.connections) Loading Loading @@ -592,8 +592,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, worldAnchor, (response) => WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, worldAnchor, (response) => { { String uuid = response.result.Message; String uuid = response.result; //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); foreach (ARFEdgeLink edge in aRFNodeWorldAnchor.portIn.connections) foreach (ARFEdgeLink edge in aRFNodeWorldAnchor.portIn.connections) Loading Loading @@ -659,7 +658,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldLink worldLink = aRFEdgeLink.worldLink; WorldLink worldLink = aRFEdgeLink.worldLink; WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, worldLink, (response) => WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, worldLink, (response) => { { string uuid = response.result; string uuid = response.result.Message; uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); aRFEdgeLink.worldLink.UUID = Guid.Parse(uuid); aRFEdgeLink.worldLink.UUID = Guid.Parse(uuid); Loading Editor/Scripts/Windows/GraphEditorWindow.cs +3 −3 Original line number Original line Diff line number Diff line Loading @@ -524,7 +524,7 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows WorldAnchorRequest.CreateWorldAnchorAsync(SaveInfo.instance.worldStorageServer, worldAnchor, (response) => WorldAnchorRequest.CreateWorldAnchorAsync(SaveInfo.instance.worldStorageServer, worldAnchor, (response) => { { String uuid = response.result; String uuid = response.result.Message; //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); Loading Loading @@ -977,7 +977,7 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows trackable.KeyvalueTags["unityAuthoringPosY"] = posY; trackable.KeyvalueTags["unityAuthoringPosY"] = posY; TrackableRequest.CreateTrackableAsync(SaveInfo.instance.worldStorageServer, trackable, (response) => TrackableRequest.CreateTrackableAsync(SaveInfo.instance.worldStorageServer, trackable, (response) => { { String uuid = response.result; String uuid = response.result.Message; //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); Loading Loading @@ -1239,7 +1239,7 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows { { WorldLinkRequest.CreateWorldLinkAsync(SaveInfo.instance.worldStorageServer, worldLink, (response) => WorldLinkRequest.CreateWorldLinkAsync(SaveInfo.instance.worldStorageServer, worldLink, (response) => { { String uuid = response.result; String uuid = response.result.Message; //Add the newly saved WorldLink to the SaveInfo singleton //Add the newly saved WorldLink to the SaveInfo singleton uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); Loading Editor/Scripts/Windows/TrackableWindow.cs +2 −2 Original line number Original line Diff line number Diff line Loading @@ -166,7 +166,7 @@ namespace ETSI.ARF.WorldStorage.UI Trackable obj = GenerateObject(); Trackable obj = GenerateObject(); TrackableRequest.UpdateTrackableAsync(worldStorageServer, obj, (response) => TrackableRequest.UpdateTrackableAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value if (WorldStorageWindow.WorldStorageWindowSingleton != null) if (WorldStorageWindow.WorldStorageWindowSingleton != null) Loading Loading @@ -313,7 +313,7 @@ namespace ETSI.ARF.WorldStorage.UI Trackable obj = GenerateObject(); Trackable obj = GenerateObject(); TrackableRequest.CreateTrackableAsync(worldStorageServer, obj, (response) => TrackableRequest.CreateTrackableAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value WorldStorageWindow.WorldStorageWindowSingleton.GetTrackables(); WorldStorageWindow.WorldStorageWindowSingleton.GetTrackables(); }); }); Loading Editor/Scripts/Windows/WorldAnchorWindow.cs +2 −2 Original line number Original line Diff line number Diff line Loading @@ -163,7 +163,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldAnchor obj = GenerateObject(); WorldAnchor obj = GenerateObject(); WorldAnchorRequest.UpdateWorldAnchorAsync(worldStorageServer, obj, (response) => WorldAnchorRequest.UpdateWorldAnchorAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value if (WorldStorageWindow.WorldStorageWindowSingleton != null) if (WorldStorageWindow.WorldStorageWindowSingleton != null) Loading Loading @@ -291,7 +291,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldAnchor obj = GenerateObject(); WorldAnchor obj = GenerateObject(); WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, obj, (response) => WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value WorldStorageWindow.WorldStorageWindowSingleton.GetWorldAnchors(); WorldStorageWindow.WorldStorageWindowSingleton.GetWorldAnchors(); }); }); Loading Editor/Scripts/Windows/WorldLinkWindow.cs +2 −2 Original line number Original line Diff line number Diff line Loading @@ -275,7 +275,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldLink obj = GenerateObject(); WorldLink obj = GenerateObject(); WorldLinkRequest.UpdateWorldLinkAsync(worldStorageServer, obj, (response) => WorldLinkRequest.UpdateWorldLinkAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value if (WorldStorageWindow.WorldStorageWindowSingleton != null) if (WorldStorageWindow.WorldStorageWindowSingleton != null) Loading Loading @@ -469,7 +469,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldLink obj = GenerateObject(); WorldLink obj = GenerateObject(); WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, obj, (response) => WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value WorldStorageWindow.WorldStorageWindowSingleton.GetWorldLinks(); WorldStorageWindow.WorldStorageWindowSingleton.GetWorldLinks(); }); }); Loading Loading
Editor/Scripts/Graph/ARFGraphView.cs +3 −4 Original line number Original line Diff line number Diff line Loading @@ -562,7 +562,7 @@ namespace ETSI.ARF.WorldStorage.UI TrackableRequest.CreateTrackableAsync(worldStorageServer, trackable, (response) => TrackableRequest.CreateTrackableAsync(worldStorageServer, trackable, (response) => { { //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid String uuid = response.result; String uuid = response.result.Message; uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); foreach (ARFEdgeLink edge in aRFNodeTrackable.portIn.connections) foreach (ARFEdgeLink edge in aRFNodeTrackable.portIn.connections) Loading Loading @@ -592,8 +592,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, worldAnchor, (response) => WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, worldAnchor, (response) => { { String uuid = response.result.Message; String uuid = response.result; //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); foreach (ARFEdgeLink edge in aRFNodeWorldAnchor.portIn.connections) foreach (ARFEdgeLink edge in aRFNodeWorldAnchor.portIn.connections) Loading Loading @@ -659,7 +658,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldLink worldLink = aRFEdgeLink.worldLink; WorldLink worldLink = aRFEdgeLink.worldLink; WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, worldLink, (response) => WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, worldLink, (response) => { { string uuid = response.result; string uuid = response.result.Message; uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); aRFEdgeLink.worldLink.UUID = Guid.Parse(uuid); aRFEdgeLink.worldLink.UUID = Guid.Parse(uuid); Loading
Editor/Scripts/Windows/GraphEditorWindow.cs +3 −3 Original line number Original line Diff line number Diff line Loading @@ -524,7 +524,7 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows WorldAnchorRequest.CreateWorldAnchorAsync(SaveInfo.instance.worldStorageServer, worldAnchor, (response) => WorldAnchorRequest.CreateWorldAnchorAsync(SaveInfo.instance.worldStorageServer, worldAnchor, (response) => { { String uuid = response.result; String uuid = response.result.Message; //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); Loading Loading @@ -977,7 +977,7 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows trackable.KeyvalueTags["unityAuthoringPosY"] = posY; trackable.KeyvalueTags["unityAuthoringPosY"] = posY; TrackableRequest.CreateTrackableAsync(SaveInfo.instance.worldStorageServer, trackable, (response) => TrackableRequest.CreateTrackableAsync(SaveInfo.instance.worldStorageServer, trackable, (response) => { { String uuid = response.result; String uuid = response.result.Message; //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid //change the uuid in its edges, if there is a new edge to be added in the world storage it needs to have the correct uuid uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); Loading Loading @@ -1239,7 +1239,7 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows { { WorldLinkRequest.CreateWorldLinkAsync(SaveInfo.instance.worldStorageServer, worldLink, (response) => WorldLinkRequest.CreateWorldLinkAsync(SaveInfo.instance.worldStorageServer, worldLink, (response) => { { String uuid = response.result; String uuid = response.result.Message; //Add the newly saved WorldLink to the SaveInfo singleton //Add the newly saved WorldLink to the SaveInfo singleton uuid = uuid.Replace("\"", ""); uuid = uuid.Replace("\"", ""); Loading
Editor/Scripts/Windows/TrackableWindow.cs +2 −2 Original line number Original line Diff line number Diff line Loading @@ -166,7 +166,7 @@ namespace ETSI.ARF.WorldStorage.UI Trackable obj = GenerateObject(); Trackable obj = GenerateObject(); TrackableRequest.UpdateTrackableAsync(worldStorageServer, obj, (response) => TrackableRequest.UpdateTrackableAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value if (WorldStorageWindow.WorldStorageWindowSingleton != null) if (WorldStorageWindow.WorldStorageWindowSingleton != null) Loading Loading @@ -313,7 +313,7 @@ namespace ETSI.ARF.WorldStorage.UI Trackable obj = GenerateObject(); Trackable obj = GenerateObject(); TrackableRequest.CreateTrackableAsync(worldStorageServer, obj, (response) => TrackableRequest.CreateTrackableAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value WorldStorageWindow.WorldStorageWindowSingleton.GetTrackables(); WorldStorageWindow.WorldStorageWindowSingleton.GetTrackables(); }); }); Loading
Editor/Scripts/Windows/WorldAnchorWindow.cs +2 −2 Original line number Original line Diff line number Diff line Loading @@ -163,7 +163,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldAnchor obj = GenerateObject(); WorldAnchor obj = GenerateObject(); WorldAnchorRequest.UpdateWorldAnchorAsync(worldStorageServer, obj, (response) => WorldAnchorRequest.UpdateWorldAnchorAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value if (WorldStorageWindow.WorldStorageWindowSingleton != null) if (WorldStorageWindow.WorldStorageWindowSingleton != null) Loading Loading @@ -291,7 +291,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldAnchor obj = GenerateObject(); WorldAnchor obj = GenerateObject(); WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, obj, (response) => WorldAnchorRequest.CreateWorldAnchorAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value WorldStorageWindow.WorldStorageWindowSingleton.GetWorldAnchors(); WorldStorageWindow.WorldStorageWindowSingleton.GetWorldAnchors(); }); }); Loading
Editor/Scripts/Windows/WorldLinkWindow.cs +2 −2 Original line number Original line Diff line number Diff line Loading @@ -275,7 +275,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldLink obj = GenerateObject(); WorldLink obj = GenerateObject(); WorldLinkRequest.UpdateWorldLinkAsync(worldStorageServer, obj, (response) => WorldLinkRequest.UpdateWorldLinkAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value if (WorldStorageWindow.WorldStorageWindowSingleton != null) if (WorldStorageWindow.WorldStorageWindowSingleton != null) Loading Loading @@ -469,7 +469,7 @@ namespace ETSI.ARF.WorldStorage.UI WorldLink obj = GenerateObject(); WorldLink obj = GenerateObject(); WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, obj, (response) => WorldLinkRequest.CreateWorldLinkAsync(worldStorageServer, obj, (response) => { { UUID = response.result; UUID = response.result.Message; UUID = UUID.Trim('"'); //Bugfix: remove " from server return value UUID = UUID.Trim('"'); //Bugfix: remove " from server return value WorldStorageWindow.WorldStorageWindowSingleton.GetWorldLinks(); WorldStorageWindow.WorldStorageWindowSingleton.GetWorldLinks(); }); }); Loading