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()