Skip to content

Commit

Permalink
CNX-9295 Speckle Connector doesn't initialize on Mac (#3480)
Browse files Browse the repository at this point in the history
* fix: Rhino Mac initialisation + pluginType flag in csproj

* fix: Revert unnecessary modifications
  • Loading branch information
AlanRynne authored Jun 6, 2024
1 parent f454421 commit 504a606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ protected override LoadReturnCode OnLoad(ref string errorMessage)

var hostAppName = HostApplications.Rhino.Slug;
var hostAppVersion = Utils.GetRhinoHostAppVersion();
SpeckleLog.Initialize(HostApplications.Rhino.Slug, Utils.GetRhinoHostAppVersion());
SpeckleLog.Initialize(HostApplications.Rhino.Slug, Utils.GetRhinoHostAppVersion(), logConfig);
SpeckleLog.Logger.Information(
"Loading Speckle Plugin for host app {hostAppName} version {hostAppVersion}",
hostAppName,
Expand Down
1 change: 1 addition & 0 deletions ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<UseWpf>true</UseWpf>
<DefineConstants>$(DefineConstants);RHINO7;RHINO6_OR_GREATER;RHINO7_OR_GREATER</DefineConstants>
<OutputType>Library</OutputType>
<RhinoPluginType>rhp</RhinoPluginType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Debug Mac' OR '$(Configuration)'=='Release Mac'">
Expand Down

0 comments on commit 504a606

Please sign in to comment.