Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #281 from speckleworks/Dimitrie/dev/telemetry
Browse files Browse the repository at this point in the history
Dimitrie/dev/telemetry
  • Loading branch information
didimitrie authored Sep 23, 2019
2 parents f9bd358 + a39e526 commit d59cb7f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions SpeckleGrasshopper/BaseComponents/GhSenderCoreClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 );
}
Expand Down
4 changes: 2 additions & 2 deletions SpeckleGrasshopper/SpeckleGrasshopper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
<Version>6.1.18037.13441</Version>
</PackageReference>
<PackageReference Include="SpeckleCore">
<Version>1.6.8</Version>
<Version>1.6.9</Version>
</PackageReference>
<PackageReference Include="SpecklePopup">
<Version>1.6.11</Version>
<Version>1.6.12</Version>
</PackageReference>
<PackageReference Include="sqlite-net-pcl">
<Version>1.5.231</Version>
Expand Down
4 changes: 2 additions & 2 deletions SpeckleRhinoPlugin/SpeckleWinR6/SpeckleWinR6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@
<Version>6.1.18037.13441</Version>
</PackageReference>
<PackageReference Include="SpeckleCore">
<Version>1.6.8</Version>
<Version>1.6.9</Version>
</PackageReference>
<PackageReference Include="SpecklePopup">
<Version>1.6.11</Version>
<Version>1.6.12</Version>
</PackageReference>
<PackageReference Include="sqlite-net-pcl">
<Version>1.5.231</Version>
Expand Down
1 change: 1 addition & 0 deletions SpeckleRhinoPlugin/src/SpeckleRhinoReceiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions SpeckleRhinoPlugin/src/SpeckleRhinoSender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d59cb7f

Please sign in to comment.