From 34f75b3d99dcd94e36ccdb72430823bdbf75136a Mon Sep 17 00:00:00 2001 From: Connor Ivy Date: Tue, 2 Jul 2024 16:02:20 -0500 Subject: [PATCH] fix rebase operation --- .../Operations/Receive/RevitHostObjectBuilder.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/DUI3-DX/Connectors/Revit/Speckle.Connectors.RevitShared/Operations/Receive/RevitHostObjectBuilder.cs b/DUI3-DX/Connectors/Revit/Speckle.Connectors.RevitShared/Operations/Receive/RevitHostObjectBuilder.cs index 222de1a776..245284543d 100644 --- a/DUI3-DX/Connectors/Revit/Speckle.Connectors.RevitShared/Operations/Receive/RevitHostObjectBuilder.cs +++ b/DUI3-DX/Connectors/Revit/Speckle.Connectors.RevitShared/Operations/Receive/RevitHostObjectBuilder.cs @@ -41,17 +41,15 @@ public HostObjectBuilderResult Build( CancellationToken cancellationToken ) { - try - { - var objectsToConvert = _traverseFunction - .TraverseWithProgress(rootObject, onOperationProgressed, cancellationToken) - .Where(obj => obj.Current is not Collection); + var objectsToConvert = _traverseFunction + .TraverseWithProgress(rootObject, onOperationProgressed, cancellationToken) + .Where(obj => obj.Current is not Collection); using TransactionGroup transactionGroup = new(_contextStack.Current.Document, $"Received data from {projectName}"); transactionGroup.Start(); _transactionManager.StartTransaction(); - var conversionResults = BakeObjects(objectsToConvert); + var conversionResults = BakeObjects(objectsToConvert); _transactionManager.CommitTransaction(); transactionGroup.Assimilate();