Skip to content

Commit b9fc3e9

Browse files
committed
was not the point of the PR
1 parent 4760336 commit b9fc3e9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/compas_rhino/geometry/curves/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
from .curve import RhinoCurve # noqa: F401
1+
from .curve import RhinoCurve
22
from .nurbs import RhinoNurbsCurve
33

4-
from compas.geometry import Curve
5-
from compas.geometry import NurbsCurve
64
from compas.plugins import plugin
75

86

97
@plugin(category="factories", requires=["Rhino"])
108
def new_curve(cls, *args, **kwargs):
11-
curve = super(Curve, cls).__new__(cls)
9+
curve = object.__new__(RhinoCurve)
1210
curve.__init__(*args, **kwargs)
1311
return curve
1412

1513

1614
@plugin(category="factories", requires=["Rhino"])
1715
def new_nurbscurve(cls, *args, **kwargs):
18-
curve = super(NurbsCurve, cls).__new__(cls)
16+
curve = object.__new__(RhinoNurbsCurve)
1917
curve.__init__(*args, **kwargs)
2018
return curve
2119

0 commit comments

Comments
 (0)