diff --git a/SpeckleGrasshopper/BaseComponents/GhSenderCoreClient.cs b/SpeckleGrasshopper/BaseComponents/GhSenderCoreClient.cs index 0e65b50..e4ef11a 100644 --- a/SpeckleGrasshopper/BaseComponents/GhSenderCoreClient.cs +++ b/SpeckleGrasshopper/BaseComponents/GhSenderCoreClient.cs @@ -110,7 +110,7 @@ public override bool Read( GH_IReader reader ) ms.Write( serialisedClient, 0, serialisedClient.Length ); ms.Seek( 0, SeekOrigin.Begin ); Client = ( SpeckleApiClient ) new BinaryFormatter().Deserialize( ms ); - var x = Client; + Client.ClientType = "Grasshopper"; RestApi = Client.BaseUrl; StreamId = Client.StreamId; WasSerialised = true; @@ -122,7 +122,6 @@ public override bool Read( GH_IReader reader ) catch ( Exception err ) { this.AddRuntimeMessage( GH_RuntimeMessageLevel.Error, "Failed to reinitialise sender." ); - //throw err; } return base.Read( reader ); } diff --git a/SpeckleGrasshopper/SpeckleGrasshopper.csproj b/SpeckleGrasshopper/SpeckleGrasshopper.csproj index 8bcdd38..e563e87 100644 --- a/SpeckleGrasshopper/SpeckleGrasshopper.csproj +++ b/SpeckleGrasshopper/SpeckleGrasshopper.csproj @@ -140,10 +140,10 @@ 6.1.18037.13441 - 1.6.8 + 1.6.9 - 1.6.11 + 1.6.12 1.5.231 diff --git a/SpeckleRhinoPlugin/SpeckleWinR6/SpeckleWinR6.csproj b/SpeckleRhinoPlugin/SpeckleWinR6/SpeckleWinR6.csproj index 6acb35a..9d869dd 100644 --- a/SpeckleRhinoPlugin/SpeckleWinR6/SpeckleWinR6.csproj +++ b/SpeckleRhinoPlugin/SpeckleWinR6/SpeckleWinR6.csproj @@ -127,10 +127,10 @@ 6.1.18037.13441 - 1.6.8 + 1.6.9 - 1.6.11 + 1.6.12 1.5.231 diff --git a/SpeckleRhinoPlugin/src/SpeckleRhinoReceiver.cs b/SpeckleRhinoPlugin/src/SpeckleRhinoReceiver.cs index 310ee12..6ec083f 100644 --- a/SpeckleRhinoPlugin/src/SpeckleRhinoReceiver.cs +++ b/SpeckleRhinoPlugin/src/SpeckleRhinoReceiver.cs @@ -549,6 +549,7 @@ protected RhinoReceiver( SerializationInfo info, StreamingContext context ) ms.Write( serialisedClient, 0, serialisedClient.Length ); ms.Seek( 0, SeekOrigin.Begin ); Client = ( SpeckleApiClient ) new BinaryFormatter().Deserialize( ms ); + Client.ClientType = "Rhino"; StreamId = Client.StreamId; } diff --git a/SpeckleRhinoPlugin/src/SpeckleRhinoSender.cs b/SpeckleRhinoPlugin/src/SpeckleRhinoSender.cs index 89e8b8d..ccba1fa 100644 --- a/SpeckleRhinoPlugin/src/SpeckleRhinoSender.cs +++ b/SpeckleRhinoPlugin/src/SpeckleRhinoSender.cs @@ -550,6 +550,7 @@ protected RhinoSender( SerializationInfo info, StreamingContext context ) ms.Write( serialisedClient, 0, serialisedClient.Length ); ms.Seek( 0, SeekOrigin.Begin ); Client = ( SpeckleApiClient ) new BinaryFormatter().Deserialize( ms ); + Client.ClientType = "Rhino"; StreamId = Client.StreamId; }