Skip to content

Commit 732d1fa

Browse files
authored
Merge pull request #1295 from compas-dev/fix-rhino-scene
Remove *args in base rhino scene object because ironpython does not support it
2 parents 5c48a13 + 67881d6 commit 732d1fa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
* Fixed bug in `compas_rhino.scene`.
15+
1416
### Removed
1517

1618

src/compas_rhino/scene/sceneobject.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class RhinoSceneObject(SceneObject):
2626
2727
"""
2828

29-
def __init__(self, *args, layer=None, group=None, **kwargs):
30-
super(RhinoSceneObject, self).__init__(*args, **kwargs)
29+
def __init__(self, layer=None, group=None, **kwargs):
30+
super(RhinoSceneObject, self).__init__(**kwargs)
3131
self.layer = layer
3232
self.group = group
3333

0 commit comments

Comments
 (0)