From 67881d6a26580780d9f77a6cff8c4afac0ea1a3e Mon Sep 17 00:00:00 2001 From: Gonzalo Casas Date: Mon, 12 Feb 2024 10:16:02 +0100 Subject: [PATCH] IronPython does not support this, we should always rely on kwargs instead --- CHANGELOG.md | 2 ++ src/compas_rhino/scene/sceneobject.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19cf3a0bae0..238de1a8359 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 bug in `compas_rhino.scene`. + ### Removed diff --git a/src/compas_rhino/scene/sceneobject.py b/src/compas_rhino/scene/sceneobject.py index e955ebc4055..50362eb70a7 100644 --- a/src/compas_rhino/scene/sceneobject.py +++ b/src/compas_rhino/scene/sceneobject.py @@ -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