From b062adbbfd96dd1f1cc58de096e5e5f01488dc75 Mon Sep 17 00:00:00 2001 From: Gonzalo Casas Date: Thu, 29 Aug 2024 11:30:04 +0200 Subject: [PATCH] Fix positional to kwarg param --- CHANGELOG.md | 2 ++ src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e476adbd564..a899a1d28813 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* Fixed args for `SceneObject` on Grasshopper `Draw` component. + ### Removed diff --git a/src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py b/src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py index 4ec5b467d289..fcc03a1ca0b0 100644 --- a/src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py +++ b/src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py @@ -12,4 +12,4 @@ def RunScript(self, cg): if not cg: return None - return SceneObject(cg).draw() + return SceneObject(item=cg).draw()