diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e8962656feb..bfc121648234 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* Fixed args for `SceneObject` on Grasshopper `Draw` component. * Replaced use of `Rhino.Geometry.VertexColors.SetColors` with a for loop and `SetColor` in `compas_ghpyton` since the former requires a `System.Array`. ### 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()