Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c671b151b4 | |||
| 600c361d9a | |||
| e8cff89433 |
+2
-2
@@ -1,4 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Speckle.Connectors.Common.Operations;
|
||||
using Speckle.Connectors.GrasshopperShared.HostApp;
|
||||
@@ -49,7 +49,7 @@ public class SpeckleOperationWizard
|
||||
|
||||
var userSelectedAccountId = _accountService.GetUserSelectedAccountId();
|
||||
Accounts = _accountManager.GetAccounts().ToList();
|
||||
SelectedAccount = userSelectedAccountId == null ? null : _accountManager.GetAccount(userSelectedAccountId);
|
||||
SelectedAccount = Accounts.FirstOrDefault(a => a.id == userSelectedAccountId);
|
||||
|
||||
WorkspaceMenuHandler = new WorkspaceMenuHandler(FetchWorkspaces, CreateNewWorkspace);
|
||||
ProjectMenuHandler = new ProjectMenuHandler(FetchProjects);
|
||||
|
||||
@@ -83,7 +83,7 @@ public class RhinoLayerBaker : TraversalContextUnpacker
|
||||
.Select(o => string.IsNullOrWhiteSpace(o.name) ? "unnamed" : o.name)
|
||||
.Prepend(baseLayerName);
|
||||
|
||||
var layerFullName = string.Join(s_pathSeparator, layerPath);
|
||||
var layerFullName = CleanLayerName(string.Join(s_pathSeparator, layerPath));
|
||||
|
||||
if (_hostLayerCache.TryGetValue(layerFullName, out int existingLayerIndex))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user