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

Commit 4c2fdff

Browse files
authored
Merge pull request #272 from speckleworks/Dimitrie/dev/hotfix-266
fixes #266
2 parents 757af25 + c95a3bb commit 4c2fdff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SpeckleGrasshopper/ObjectCreation/ModifySpeckleObjectProperties.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ protected override void SolveInstance(IGH_DataAccess DA)
257257

258258
//
259259

260-
var outputObject = CreateCopy(inputObject);
260+
var outputObject = (SpeckleObject) CreateCopy(inputObject);
261+
if ( outputObject.Properties == null ) outputObject.Properties = new Dictionary<string, object>(); // hack
262+
261263
DA.SetData(0, outputObject);
262264

263265
for (int i = 1; i < Params.Input.Count; i++)

0 commit comments

Comments
 (0)