Skip to content

Commit

Permalink
Merge pull request #1295 from compas-dev/fix-rhino-scene
Browse files Browse the repository at this point in the history
Remove *args in base rhino scene object because ironpython does not support it
  • Loading branch information
gonzalocasas authored Feb 12, 2024
2 parents 5c48a13 + 67881d6 commit 732d1fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Fixed bug in `compas_rhino.scene`.

### Removed


Expand Down
4 changes: 2 additions & 2 deletions src/compas_rhino/scene/sceneobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class RhinoSceneObject(SceneObject):
"""

def __init__(self, *args, layer=None, group=None, **kwargs):
super(RhinoSceneObject, self).__init__(*args, **kwargs)
def __init__(self, layer=None, group=None, **kwargs):
super(RhinoSceneObject, self).__init__(**kwargs)
self.layer = layer
self.group = group

Expand Down

0 comments on commit 732d1fa

Please sign in to comment.